// |reftest| skip-if((winWidget&&!xulRuntime.shell)||!this.hasOwnProperty("Intl")) -- Windows browser in automation doesn't pick up new time zones correctly; Requires ICU time zone support
// Repeats the test from "time-zones.js", but uses POSIX instead of IANA names // for the time zones. This allows to run these tests on Windows, too. // // Requires ICU support because time zones like "PST8PDT" may use different // time zone rules when compared to "America/Los_Angeles". PST8PDT is a link // to America/Los_Angeles since tzdata 2024b, but system libraries may apply // different time zone rules.
// From bug 1330149: // // Windows only supports a very limited set of IANA time zone names for the TZ // environment variable. // // TZ format supported by Windows: "TZ=tzn[+|-]hh[:mm[:ss]][dzn]". // // Complete list of all IANA time zone ids matching that format. // // From tzdata's "northamerica" file: // EST5EDT // CST6CDT // MST7MDT // PST8PDT // // From tzdata's "backward" file: // GMT+0 // GMT-0 // GMT0 // // Also supported on Windows even though they don't match the format listed // above. // // From tzdata's "backward" file: // UCT // UTC // // From tzdata's "etcetera" file: // GMT
// Perform the following replacements: // America/New_York -> EST5EDT // America/Chicago -> CST6CDT // America/Denver -> MST7MDT // America/Los_Angeles -> PST8PDT // // And remove any tests not matching one of the four time zones from above.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.