diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2013-06-13 12:01:12 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2013-06-13 12:01:12 +0100 |
commit | 17f5d8e062909f1fcae25351834d8e89967b645e (patch) | |
tree | f0be19ac442bf39a41bc8b0b2a7231d7459802c6 /activerecord/lib/active_record/aggregations.rb | |
parent | b3bc3aa5cbe7540de21ae4eb566886e3b8efe6e3 (diff) | |
download | rails-17f5d8e062909f1fcae25351834d8e89967b645e.tar.gz rails-17f5d8e062909f1fcae25351834d8e89967b645e.tar.bz2 rails-17f5d8e062909f1fcae25351834d8e89967b645e.zip |
Keep sub-second resolution when wrapping a DateTime value
Add `DateTime#usec` and `DateTime#nsec` so that `ActiveSupport::TimeWithZone`
keeps sub-second resolution when wrapping a `DateTime` value.
Fixes #10855
Diffstat (limited to 'activerecord/lib/active_record/aggregations.rb')
0 files changed, 0 insertions, 0 deletions