When I use a unix timestamp below as the creation_date I get weird unexpected values for the date.
{{creation_date | date: "%b %e, %Y"}}
Unix timestamps are of int type while the date filter expects a string. When a unix timestamp is converted to a string, then used in new Date(stringUnixTimestamp) it creates an invalid date. If would be nice if the library could detect if the incoming value is a string or int and keep their types accordingly.
When I use a unix timestamp below as the
creation_date
I get weird unexpected values for the date.Unix timestamps are of int type while the date filter expects a string. When a unix timestamp is converted to a string, then used in
new Date(stringUnixTimestamp)
it creates an invalid date. If would be nice if the library could detect if the incoming value is a string or int and keep their types accordingly.