Changeset 7798
- Timestamp:
- 10/08/07 05:41:19 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
r7780 r7798 188 188 def fast_string_to_time(string) 189 189 if string =~ Format::ISO_DATETIME 190 microsec = ($7.to_f * 1 0e6).to_i190 microsec = ($7.to_f * 1_000_000).to_i 191 191 new_time $1.to_i, $2.to_i, $3.to_i, $4.to_i, $5.to_i, $6.to_i, microsec 192 192 end