Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Conversation

@cerivera
Copy link

According to Wikipedia’s article on the ISO 8601 format, the ’T’ delimiter is optional and can be omitted. This allows PostgreSQL datetime strings to be filtered.

This was not supported before this patch:
{{ “2015-03-27 18:24:49.324101” | date:’short’ }}

Even though this worked:
var myDate = new Date('2015-03-27 18:24:49.324101')
...
{{ myDate | date:'short' }}

@naomiblack naomiblack closed this May 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants