mirror of https://github.com/tc39/test262.git
Canada/East-Saskatchewan is no longer a valid time zone identifier (tzdata2017c)
This commit is contained in:
parent
5730f10114
commit
f87aeab893
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue