Time displayed in UTC if TZ-environment variable is set with file path
This bug is from a v8 bug on Linux
1. Select a timezone:
$ readlink -m /etc/localtime
2. Launch chromium with TZ-variable:
$ TZ=$(readlink -m /etc/localtime) chromium
> 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