- OS: Windows 10 Pro x64-based PC
- node -v: v8.12.0
- npm list puppeteer: `-- puppeteer@1.9.0
I tried this:
puppeteer.launch({
env: {
TZ: 'Australia/Melbourne',
...process.env
}
});
Dont work for me. whoer.net sees my actual systemtime.
EDIT: Some information about https://github.com/nodejs/node/issues/4230
This code works well on Linux but does not work on Windows:
process.env.TZ = 'UTC';
console.log(new Date());
On Windows, I see timezone from my OS.