mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Kathmandu TimeZone: reference Asia/Kathmandu zone directly instead of through linked timezone
This commit is contained in:
@@ -125,7 +125,7 @@ module ActiveSupport
|
||||
"Kolkata" => "Asia/Kolkata",
|
||||
"Mumbai" => "Asia/Kolkata",
|
||||
"New Delhi" => "Asia/Kolkata",
|
||||
"Kathmandu" => "Asia/Katmandu",
|
||||
"Kathmandu" => "Asia/Kathmandu",
|
||||
"Astana" => "Asia/Dhaka",
|
||||
"Dhaka" => "Asia/Dhaka",
|
||||
"Sri Jayawardenepura" => "Asia/Colombo",
|
||||
|
||||
20
activesupport/lib/active_support/vendor/tzinfo-0.3.13/tzinfo/definitions/Asia/Kathmandu.rb
vendored
Normal file
20
activesupport/lib/active_support/vendor/tzinfo-0.3.13/tzinfo/definitions/Asia/Kathmandu.rb
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
require 'tzinfo/timezone_definition'
|
||||
|
||||
module TZInfo
|
||||
module Definitions
|
||||
module Asia
|
||||
module Kathmandu
|
||||
include TimezoneDefinition
|
||||
|
||||
timezone 'Asia/Kathmandu' do |tz|
|
||||
tz.offset :o0, 20476, 0, :LMT
|
||||
tz.offset :o1, 19800, 0, :IST
|
||||
tz.offset :o2, 20700, 0, :NPT
|
||||
|
||||
tz.transition 1919, 12, :o1, 52322204081, 21600
|
||||
tz.transition 1985, 12, :o2, 504901800
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -1,13 +0,0 @@
|
||||
require 'tzinfo/timezone_definition'
|
||||
|
||||
module TZInfo
|
||||
module Definitions
|
||||
module Asia
|
||||
module Katmandu
|
||||
include TimezoneDefinition
|
||||
|
||||
linked_timezone 'Asia/Katmandu', 'Asia/Kathmandu'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user