Sfoglia il codice sorgente

Fix DateTimeFormat.js error: TZ=US/Pacific -> America/Los_Angeles

US/Pacific is a legacy alias, unavailable in the standard
installation of Debian 13, which moved it to tzdata-legacy.
Ivan Krasilnikov 2 mesi fa
parent
commit
3f50d565f8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      test/runtests.py

+ 1 - 1
test/runtests.py

@@ -707,7 +707,7 @@ def main():
     # Set the right timezone, the tests need Pacific Standard Time
     # TODO: Windows. time.tzset only supports Unix
     if hasattr(time, 'tzset'):
-        os.environ['TZ'] = 'US/Pacific'
+        os.environ['TZ'] = 'America/Los_Angeles'
         time.tzset()
     elif sys.platform == 'win32':
         os.system('tzutil /s "Pacific Standard time"')