-
Notifications
You must be signed in to change notification settings - Fork 641
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 outputs am / pm as a.m. / p.m. #4558
Comments
Just to add, if I do |
Guessing this is happening for a site set to Craft overrides Twig’s |
The site is set to |
Ah ok, perhaps that too :) I was going off our locale data exports in It might be worth us adding a parameter to the |
{{ entry.postDate|date('a') }}
is outputtinga.m.
but according to PHP Date it should beam
(without the added periods). Same goes for{{ entry.postDate|date('A') }}
.The text was updated successfully, but these errors were encountered: