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

USA has not abolished DST yet #388

Closed
wants to merge 1 commit into from
Closed

USA has not abolished DST yet #388

wants to merge 1 commit into from

Conversation

nobu
Copy link
Member

@nobu nobu commented Mar 12, 2017

No description provided.

@@ -4,7 +4,7 @@
platform_is_not :windows do
it "returns the time zone used for time" do
with_timezone("America/New_York") do
Time.now.zone.should == "EST"
Time.now.zone.should =~ /\AE[SD]T\z/
Copy link
Member

@eregon eregon Mar 12, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the zone short name was the same, DST or not, while looking at other specs in this file, but they all use a fixed time to avoid this problem.

eregon added a commit that referenced this pull request Mar 12, 2017
@eregon
Copy link
Member

eregon commented Mar 12, 2017

I changed the specs to use fixed times like other specs in 9ac9550.
Thanks for the report and the fix!

@eregon
Copy link
Member

eregon commented Mar 12, 2017

Also see 19c84be

@nobu nobu deleted the DST-in-USA branch March 12, 2017 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants