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

Date filter only works on {{datetime}} #42

Open
basepi opened this issue Aug 26, 2024 · 0 comments
Open

Date filter only works on {{datetime}} #42

basepi opened this issue Aug 26, 2024 · 0 comments

Comments

@basepi
Copy link

basepi commented Aug 26, 2024

According to the documentation, you should be able to do {{date|date('Y-m-d')}}. However, this doesn't work; the output is blank. {{datetime|date('Y-m-d')}} does work, but I want to be able to do this with {{highlight_date}} and other similar variables.

Anyone have any hints on how to get this to work? Can I convert the {{highlight_date}} to a datetime object, somehow?

Thanks in advance!

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

1 participant