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? 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
If I do then I get PM which is the expected output.
But if I do {{ now|date('A') }} on the same website then I'm getting p.m. (PM changes to p.m.)
According to the Twig manual, the format specifier is the same as supported by PHP date function.
Therefore, I should be able to use either of the following:
a = Lowercase Ante meridiem and Post meridiem (am or pm) A = Uppercase Ante meridiem and Post meridiem (AM or PM)
However, in Craft, using either a or A in Twig has the same result - a.m. or p.m. - in lowercase with added periods.
The text was updated successfully, but these errors were encountered:
65fe332
No branches or pull requests
Description
If I do then I get PM which is the expected output.
But if I do {{ now|date('A') }} on the same website then I'm getting p.m. (PM changes to p.m.)
According to the Twig manual, the format specifier is the same as supported by PHP date function.
Therefore, I should be able to use either of the following:
a = Lowercase Ante meridiem and Post meridiem (am or pm)
A = Uppercase Ante meridiem and Post meridiem (AM or PM)
However, in Craft, using either a or A in Twig has the same result - a.m. or p.m. - in lowercase with added periods.
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: