I have a Docker container with 'Debian GNU/Linux 8 (jessie)' and node.js 8. The system timezone (in /etc/timezone
) is 'Europe/Moscow' but when I run node
and type
new Date();
I get a UTC date, but not a local Moscow date.
How to make node.js use system timezone by default?