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
private void setTimeZone(String timeZoneID) { setTimeZone(TimeZone.getTimeZone(timeZoneID), DateTimeZone.forID(timeZoneID)); } private void setTimeZone(TimeZone timeZone, DateTimeZone dateTimeZone) { System.setProperty("user.timezone", timeZone.getID()); TimeZone.setDefault(timeZone); DateTimeZone.setDefault(dateTimeZone); } DateTimeFormatter formatter = DateTimeFormat.forPattern("EEE MMM dd HH:mm:ss z yyyy"); dateTimeFormatter.print(new DateTime(2001, 12, 22, 23, 59, 59, 0))
"GMT" --> timeZoneID java7 simpledateFormat --> "Mon Jan 01 00:00:00 GMT 2001" v2.7 --> "Mon Jan 01 00:00:00 +00:00 2001"
"Europe/London" --> timeZoneID java7 simpledateFormat --> "Mon Jan 01 00:00:00 GMT 2001" v2.7 --> "Mon Jan 01 00:00:00 GMT 2001"
The GMT timezone format of "z" seems to behave like "Z"
Avihay
The text was updated successfully, but these errors were encountered:
b9fe534
Thx for the quick response 💯
Sorry, something went wrong.
Format Etc/* time-zone without using Etc prefix
9df7ab8
Fixes JodaOrg#244
No branches or pull requests
"GMT" --> timeZoneID
java7 simpledateFormat --> "Mon Jan 01 00:00:00 GMT 2001"
v2.7 --> "Mon Jan 01 00:00:00 +00:00 2001"
"Europe/London" --> timeZoneID
java7 simpledateFormat --> "Mon Jan 01 00:00:00 GMT 2001"
v2.7 --> "Mon Jan 01 00:00:00 GMT 2001"
The GMT timezone format of "z" seems to behave like "Z"
Avihay
The text was updated successfully, but these errors were encountered: