We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Attempt to display a datetime value in UNIX timecode format using the twig |date() filter
{{ entry.postDate|date('U') }}
The text was updated successfully, but these errors were encountered:
eb3725e
Just fixed this for the next release, but in the meantime you can just change |date('U') to .timestamp.
|date('U')
.timestamp
{{ entry.postDate.timestamp }}
Sorry, something went wrong.
No branches or pull requests
Description
Attempt to display a datetime value in UNIX timecode format using the twig |date() filter
Steps to reproduce
{{ entry.postDate|date('U') }}
in a template file.Additional info
The text was updated successfully, but these errors were encountered: