diff options
author | Geoff Buesing <gbuesing@gmail.com> | 2008-01-16 20:07:10 +0000 |
---|---|---|
committer | Geoff Buesing <gbuesing@gmail.com> | 2008-01-16 20:07:10 +0000 |
commit | 47ff3aa91ff23ae8676717519fe0aecd1f6a7d82 (patch) | |
tree | bb952c8585df25501500fdf59ebcc6fe35044c08 /activesupport/CHANGELOG | |
parent | 61e550ade937f812546b6fe561bc5ceb4460b9fb (diff) | |
download | rails-47ff3aa91ff23ae8676717519fe0aecd1f6a7d82.tar.gz rails-47ff3aa91ff23ae8676717519fe0aecd1f6a7d82.tar.bz2 rails-47ff3aa91ff23ae8676717519fe0aecd1f6a7d82.zip |
Introducing DateTime #utc, #utc? and #utc_offset, for duck-typing compatibility with Time. Closes #10002
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/CHANGELOG')
-rw-r--r-- | activesupport/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG index d3fd760159..db46ce4f4d 100644 --- a/activesupport/CHANGELOG +++ b/activesupport/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Introducing DateTime #utc, #utc? and #utc_offset, for duck-typing compatibility with Time. Closes #10002 [Geoff Buesing] + * Time#to_json uses Numeric#to_utc_offset_s to output a cross-platform-consistent representation without having to convert to DateTime. References #9750 [Geoff Buesing] * Refactor number-to-HH:MM-string conversion logic from TimeZone#formatted_offset to a reusable Numeric#to_utc_offset_s method. [Geoff Buesing] |