lib/time_crisis/tzinfo/definitions/Asia/Shanghai.rb in time_crisis-0.2.0 vs lib/time_crisis/tzinfo/definitions/Asia/Shanghai.rb in time_crisis-0.3.0
- old
+ new
@@ -3,15 +3,15 @@
module TimeCrisis::TZInfo
module Definitions
module Asia
module Shanghai
include TimezoneDefinition
-
+
timezone 'Asia/Shanghai' do |tz|
tz.offset :o0, 29152, 0, :LMT
tz.offset :o1, 28800, 0, :CST
tz.offset :o2, 28800, 3600, :CDT
-
+
tz.transition 1927, 12, :o1, 6548164639, 2700
tz.transition 1940, 6, :o2, 14578699, 6
tz.transition 1940, 9, :o1, 19439225, 8
tz.transition 1941, 3, :o2, 14580415, 6
tz.transition 1941, 9, :o1, 19442145, 8