提交 ffded19f 编写于 作者: G Godfrey Chan

Clearify CHANGELOG for #23011 [ci skip]

上级 bdf80369
* 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*
......
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册