Need help with Timezones js
pxldevv
HOBBYOP

2 years ago

Railway is hosted somewhere else so the Date.now() is showing for somewhere else, how can I fix this?

5 Replies

pxldevv
HOBBYOP

2 years ago

N/A


2 years ago

the containers run on the UTC timezone, you should store all timestamps as UTC and convert to your local timezone only for display purposes


pxldevv
HOBBYOP

2 years ago

alright sounds good!


pxldevv
HOBBYOP

2 years ago

thanks for the fast reply


2 years ago

no prob!


Loading...