Permalink
Browse files

Add CHANGELOG entry for #11464

  • Loading branch information...
pixeltrix committed Jan 26, 2014
1 parent e3c382e commit 9484f4b821d90136b106cb7e0e3ebaad31493ee2
Showing with 9 additions and 0 deletions.
  1. +9 −0 activesupport/CHANGELOG.md
@@ -1,3 +1,12 @@
+* Add `ActiveSupport::JSON::Encoding.time_precision` as a way to configure the
+ precision of encoded time values:
+
+ Time.utc(2000, 1, 1).as_json # => "2000-01-01T00:00:00.000Z"
+ ActiveSupport::JSON::Encoding.time_precision = 0
+ Time.utc(2000, 1, 1).as_json # => "2000-01-01T00:00:00Z"
+
+ *Parker Selbert*
+
* Maintain the current timezone when calling `change` during DST overlap
Currently if a time is changed during DST overlap in the autumn then the method

0 comments on commit 9484f4b

Please sign in to comment.