activerecord/lib/active_record/type/helpers/time_value.rb
# Doesn't handle time zones.
Doesn't handle time zones.
Doesn ' t handle time zones .
def fast_string_to_time(string)
          if string =~ ConnectionAdapters::Column::Format::ISO_DATETIME
            microsec = ($7.to_r * 1_000_000).to_i
            new_time $1.to_i, $2.to_i, $3.to_i, $4.to_i, $5.to_i, $6.to_i, microsec
          end
        end
def fast_string_to_time ( string ) if string =~ ConnectionAdapters :: Column :: Format :: ISO_DATETIME microsec = ( $7 . to_r * 1_000_000 ) . to_i new_time $1 . to_i , $2 . to_i , $3 . to_i , $4 . to_i , $5 . to_i , $6 . to_i , microsec end end
Doesn't handle time zones.
Doesn ' t handle time zones .
string
<not_specific>