diff options
author | Andrew White <andrew.white@unboxed.co> | 2017-03-01 18:13:15 +0000 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2017-03-02 06:02:41 +0000 |
commit | b5af751508281483845d4323177b0aec98a11880 (patch) | |
tree | 56f4a6c7af3a0ed4934e89dbfc73e55fadbdf314 /activesupport/activesupport.gemspec | |
parent | b61a56541aecd7ac685d4f19d943177a3f1b465a (diff) | |
download | rails-b5af751508281483845d4323177b0aec98a11880.tar.gz rails-b5af751508281483845d4323177b0aec98a11880.tar.bz2 rails-b5af751508281483845d4323177b0aec98a11880.zip |
Update `DateTime#change` to support usec and nsec
Adding support for these options now allows us to update the
`DateTime#end_of` methods to match the equivalent `Time#end_of`
methods, e.g:
datetime = DateTime.now.end_of_day
datetime.nsec == 999999999 # => true
Fixes #21424.
Diffstat (limited to 'activesupport/activesupport.gemspec')
0 files changed, 0 insertions, 0 deletions