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' }}
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' }}