1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Clearify CHANGELOG for #23011 [ci skip]

This commit is contained in:
Godfrey Chan 2016-06-27 08:36:49 -07:00
parent bdf80369ef
commit ffded19faf
2 changed files with 8 additions and 4 deletions

View file

@ -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*

View file

@ -969,10 +969,10 @@ Please refer to the [Changelog][active-support] for detailed changes.
* `ActiveSupport::JSON.decode` now supports parsing ISO8601 local times when
`parse_json_times` is enabled.
([Pull Request](https://github.com/rails/rails/pull/16917))
([Pull Request](https://github.com/rails/rails/pull/23011))
* `ActiveSupport::JSON.decode` now return `Date` objects for date strings.
([Pull Request](https://github.com/rails/rails/pull/16917))
([Pull Request](https://github.com/rails/rails/pull/23011))
* Added ability to `TaggedLogging` to allow loggers to be instantiated multiple
times so that they don't share tags with each other.