Skip to content

Commit 5dcba40

Browse files
committed
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.
1 parent 1cf0797 commit 5dcba40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/runtests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ def main():
707707
# Set the right timezone, the tests need Pacific Standard Time
708708
# TODO: Windows. time.tzset only supports Unix
709709
if hasattr(time, 'tzset'):
710-
os.environ['TZ'] = 'US/Pacific'
710+
os.environ['TZ'] = 'America/Los_Angeles'
711711
time.tzset()
712712
elif sys.platform == 'win32':
713713
os.system('tzutil /s "Pacific Standard time"')

0 commit comments

Comments
 (0)