diff options
author | Herminio Torres <herminiocesar@gmail.com> | 2016-06-21 22:37:42 -0300 |
---|---|---|
committer | Herminio Torres <herminiocesar@gmail.com> | 2016-06-21 22:37:42 -0300 |
commit | aa6dde37cd46fc56b6bd3197564a8428399aec33 (patch) | |
tree | 7596aa5fb641f13eab9b11a1cd790a732e3b2929 /actionview/CHANGELOG.md | |
parent | 13a1110079be89b1875f44de80bec3735d243ab3 (diff) | |
download | rails-aa6dde37cd46fc56b6bd3197564a8428399aec33.tar.gz rails-aa6dde37cd46fc56b6bd3197564a8428399aec33.tar.bz2 rails-aa6dde37cd46fc56b6bd3197564a8428399aec33.zip |
Change datetime to datetime-local helper tag
A change was made in the helper that renders the `datetime`,
being now by default `datetime-local` and creating
an alias of `datetime-local` for `datetime`, `datetime` tag and
it passes to be an abstract class for all other tags that inherit from him.
As a new specification of the HTML 5 the text field type `datetime`
will no longer exist and will pass a `datetime-local`.
Ref: https://html.spec.whatwg.org/multipage/forms.html#local-date-and-time-state-(type=datetime-local)
Diffstat (limited to 'actionview/CHANGELOG.md')
-rw-r--r-- | actionview/CHANGELOG.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index eb426ab7cd..ed4a162541 100644 --- a/actionview/CHANGELOG.md +++ b/actionview/CHANGELOG.md @@ -1,3 +1,11 @@ +* A change was made in the helper that renders the `datetime`, being now by default `datetime-local` and + creating an alias of `datetime-local` for `datetime`, `datetime` tag and it passes to be an abstract class for all other tags that inherit from him. + + As a new specification of the HTML 5 the text field type `datetime` will no longer exist and will pass a `datetime-local`. + Ref: https://html.spec.whatwg.org/multipage/forms.html#local-date-and-time-state-(type=datetime-local) + + *Herminio Torres* + * Raw template handler (which is also the default template handler in Rails 5) now outputs HTML-safe strings. |