Skip to content

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.

3 participants