TimeZone#strftime doesn't give correct local offset #67

Closed
mj1856 opened this Issue Mar 21, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@mj1856

mj1856 commented Mar 21, 2017

TimeZone#strftime replaces %Z with the correct local abbreviation, but it leaves %z at +0000 instead of the correct local wall-time offset. Same for %:z, %::z and %:::z.

@philr

This comment has been minimized.

Show comment
Hide comment
@philr

philr Mar 21, 2017

Member

Support for returning the correct offset for %z (and associated formats) in Timezone#strftime has already been implemented. It will be included in the next TZInfo 1.2.x release.

Member

philr commented Mar 21, 2017

Support for returning the correct offset for %z (and associated formats) in Timezone#strftime has already been implemented. It will be included in the next TZInfo 1.2.x release.

@philr philr closed this Mar 21, 2017

@philr

This comment has been minimized.

Show comment
Hide comment
@philr

philr Mar 25, 2017

Member

Version 1.2.3 has now been released. This adds support for returning the correct offset for %z.

Member

philr commented Mar 25, 2017

Version 1.2.3 has now been released. This adds support for returning the correct offset for %z.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment