-
Notifications
You must be signed in to change notification settings - Fork 118
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
Colon not allowed in date format string? #64
Comments
It seems that if you change the following within /src/Liquid.php, it fixes the problem. Change: To: Does anyone know the details of the original pattern and why it was used? While this seems to have solved the colon issue, I haven't yet done enough testing to see if the new pattern causes other problems. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
It seems as though {{ "now" | date: "%Y-%m-%d %H:%M" }} renders null but {{ "now" | date: "%Y-%m-%d %H%M" }} renders just fine. Is anyone else having this issue? It seems that the colon is causing it to render null.
The text was updated successfully, but these errors were encountered: