Time displayed in UTC if TZ-environment variable is set with file path
Description
This bug is from a v8 bug on Linux
1. Select a timezone:
$ readlink -m /etc/localtime
/usr/share/zoneinfo/Europe/Berlin
2. Launch chromium with TZ-variable:
$ TZ=$(readlink -m /etc/localtime) chromium
3. Type into Javascript console:
> new Date()
What is the expected behavior?
Time displayed in local timezone:
Fri Nov 20 2020 08:22:53 GMT+0100 (Central European Standard Time)
What went wrong?
Time is displayed in UTC instead:
Fri Nov 20 2020 07:25:35 GMT+0000 (GMT)
not a regression , probably need some enhancement in common/putil.cpp
Activity
Show:
Frank Yung-Fong Tang
December 23, 2020, 9:59 PM
Frank Yung-Fong Tang
December 7, 2020, 10:33 PM