add Asuncion as a friendly time zone

fixes CNVS-28042

test plan:
 * change a timezone on a account; Asuncion should be in the list

Change-Id: I2b6b37267e3eb2ddc753f4748b1e3a5f2c024fc6
Reviewed-on: https://gerrit.instructure.com/74550
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
Cody Cutrer 2016-03-15 12:20:06 -06:00
parent 2c45aaf48d
commit 85bd311e4b
2 changed files with 7 additions and 0 deletions

View File

@ -29,3 +29,9 @@ class ActiveSupport::TimeWithZone
self.utc.as_json_without_utc(options)
end
end
# Add Paraguay (Asuncion) as a friendly time zone
ActiveSupport::TimeZone::MAPPING['Asuncion'] = 'America/Asuncion'
ActiveSupport::TimeZone.instance_variable_set(:@zones, nil)
ActiveSupport::TimeZone.instance_variable_set(:@zones_map, nil)
ActiveSupport::TimeZone.instance_variable_set(:@lazy_zones_map, nil)

View File

@ -177,6 +177,7 @@ en:
montevideo: "Montevideo"
ulaanbaatar: "Ulaanbaatar"
chatham_is: "Chatham Is."
asuncion: "Asuncion"
support:
array:
or: