Flowdock
method

fallback_string_to_time

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: DateTime
fallback_string_to_time(string) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/type/date_time.rb, line 28
      def fallback_string_to_time(string)
        time_hash = ::Date._parse(string)
        time_hash[:sec_fraction] = microseconds(time_hash)

        new_time(*time_hash.values_at(:year, :mon, :mday, :hour, :min, :sec, :sec_fraction, :offset))
      end
Register or log in to add new notes.