Canada/East-Saskatchewan is no longer a valid time zone identifier (tzdata2017c)

This commit is contained in:
André Bargull 2017-12-21 12:08:07 -08:00 committed by Rick Waldron
parent 5730f10114
commit f87aeab893
1 changed files with 1 additions and 1 deletions

View File

@ -1169,7 +1169,7 @@ function isCanonicalizedStructurallyValidTimeZoneName(timeZone) {
var fileName = fileNameComponent + "(?:/" + fileNameComponent + ")*";
var etcName = "(?:Etc/)?GMT[+-]\\d{1,2}";
var systemVName = "SystemV/[A-Z]{3}\\d{1,2}(?:[A-Z]{3})?";
var legacyName = etcName + "|" + systemVName + "|CST6CDT|EST5EDT|MST7MDT|PST8PDT|NZ|Canada/East-Saskatchewan";
var legacyName = etcName + "|" + systemVName + "|CST6CDT|EST5EDT|MST7MDT|PST8PDT|NZ";
var zoneNamePattern = new RegExp("^(?:" + fileName + "|" + legacyName + ")$");
if (typeof timeZone !== "string") {