Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Using a timezone without DST to fix PST/PDT spec failure.

  • Loading branch information...
commit 825520d37e9a453e6b432bf4326903d20bbc7978 1 parent 13a91f4
@KL-7 KL-7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/localized/localized_datetime_spec.rb
View
2  spec/localized/localized_datetime_spec.rb
@@ -47,7 +47,7 @@
end
it 'should stringify with proper time zone' do
- expect(date_time.localize(:en).with_timezone('America/Los_Angeles').to_long_s).to eq("September 20, 1987 at 3:05:00 PM PST")
+ expect(date_time.localize(:en).with_timezone('Asia/Tokyo').to_long_s).to eq("September 21, 1987 at 7:05:00 AM JST")
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.