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

Dublin offset changed between 1.2018.4 and 1.2018.5 #95

Closed
samstickland opened this Issue Oct 18, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@samstickland
Copy link

samstickland commented Oct 18, 2018

Using tzinfo-data 1.2018.4

> require 'tzinfo/data'
> TZInfo::Timezone.get('Europe/Dublin').current_period.utc_offset
=> 0

using tzinfo-data 1.2018.5

> require 'tzinfo/data'
> TZInfo::Timezone.get('Europe/Dublin').current_period.utc_offset
=> 3600

Of course, the offset in Dublin hasn't changed!

@samstickland

This comment has been minimized.

Copy link
Author

samstickland commented Oct 18, 2018

I found the issue. 2018f uses a negative offset for Irish Winter Time, whereas earlier versions used a positive offset for "Irish Summer Time" (which doesn't actually exist). Technically the negative offset for Irish Winter Time is correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.