-
-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
date filter should return parsed input when no format is provided #573
Comments
Actually in my local shopify/liquid, it yields an error:
But I do think it's better to output something instead of throwing. Now what I can find in JavaScript (with most similarity) is
|
I find this approach is not feasible for It seems OK in this test case: liquidjs/test/integration/filters/date.ts Lines 70 to 72 in 3f21382
The timezone is specified so that this test case can be env independant, more realistic use case is: liquidjs/test/integration/filters/date.ts Lines 9 to 11 in 3f21382
|
Expected:
Actual:
https://liquidjs.com/playground.html#e3sgJ25vdycgfCBkYXRlIH19Cnt7ICcyMDIyLTEyLTA3VDIyOjIyOjE4JyB8IGRhdGUgfX0K,e30=
The text was updated successfully, but these errors were encountered: