diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2016-06-27 08:36:49 -0700 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2016-06-27 08:37:06 -0700 |
commit | ffded19faf497c0a0bb392c07f98d9eee62f6925 (patch) | |
tree | 8cdc9239dc80e794cbf86903ab6bcc4dafbe902a /activesupport | |
parent | bdf80369efa5f339531f5c8ace8f52f243e3bc1a (diff) | |
download | rails-ffded19faf497c0a0bb392c07f98d9eee62f6925.tar.gz rails-ffded19faf497c0a0bb392c07f98d9eee62f6925.tar.bz2 rails-ffded19faf497c0a0bb392c07f98d9eee62f6925.zip |
Clearify CHANGELOG for #23011 [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/CHANGELOG.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 01ff1a858d..db439b5732 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,5 +1,9 @@ -* Fix parsing JSON time in `YYYY-MM-DD hh:mm:ss` (without `Z`). - Before such time was considered in UTC timezone, now, to comply with standard, it uses local timezone. +* Support parsing JSON time in ISO8601 local time strings in + `ActiveSupport::JSON.decode` when `parse_json_times` is enabled. + Strings in the format of `YYYY-MM-DD hh:mm:ss` (without a `Z` at + the end) will be parsed in the local timezone (`Time.zone`). In + addition, date strings (`YYYY-MM-DD`) are now parsed into `Date` + objects. *Grzegorz Witek* |