Answer the question
In order to leave comments, you need to log in
Setting timezone in nodejs?
There is a server on Linux, the time is set correctly in it. And nodejs is spinning on it - in it the time zone is 3 hours behind. How to make it correct by default in node (either write it manually or make it match with linux)
Tried to write
process.env.TZ = "Europe/Moskow";
it Didn't help
Answer the question
In order to leave comments, you need to log in
See what's there and how in the output.
Plus, check the locale settings and tz for the user from which the node is launched
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question