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

Fix datetime zone output. #368

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix datetime zone output. #368

wants to merge 2 commits into from

Conversation

mattcoley
Copy link
Collaborator

Comparing http://strftime.org/ and https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html, %z should map to Z which outputs the offset +HHMM or -HHMM. %Z should map to z which outputs the shorthand name fo the timezone (for example PDT).

@boulter
Copy link
Contributor

boulter commented Aug 29, 2019

Doesn't this have the potential to break a lot of existing pages that use %Z?

@mattcoley
Copy link
Collaborator Author

I'll have to look at usage for %Z since we have always converted this value incorrectly and received a JIRA about it being incorrect a year ago. I am guessing it is not widely used if this bug has only been reported twice.

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

Successfully merging this pull request may close these issues.

2 participants