Support dates in unix timestamp format #520
Unanswered
greatwitenorth
asked this question in
Q&A
Replies: 1 comment
-
Can you provide a template to reproduce the problem? unix timestamps are expected to be supported. Here's a demo: https://liquidjs.com/playground.html#e3sgMTY1Njc2NjM2MCB8IGRhdGU6ICclWS8lbS8lZCcgfX0=,e30= |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.Beta Was this translation helpful? Give feedback.
All reactions