Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing today in unix format works fine but not with other dates #309

Open
sushmar-sportsbet opened this issue Sep 12, 2024 · 1 comment

Comments

@sushmar-sportsbet
Copy link

Hi, I'm having an issue while parsing the following input in Template to render.

{% assign today = 'now' | date: '%s' %}. → gives parsing outcome as → 1726121266// correct output
{% assign mar_1st = '1 Mar' | date: '%s' %} -> gives parsing outcome as → 1 Mar //incorrect output expecting unix format

@bkiers @msangel Will you please review this one?

@msangel
Copy link
Collaborator

msangel commented Sep 12, 2024

@sushmar-sportsbet sure will take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants