Updating time zone configuration
Hello everyone! I'm using Railway as my hosting provider, and I'd like to change the time zone configuration for my application. Could you please guide me on how to update the time zone setting in Railway? I want to set it to UTC+1 . Any help would be greatly appreciated. Thank you!
Solution:Jump to solution
generally it's best practice to keep server/database time in UTC and only convert out to the desired time zone when needed
10 Replies
Please provide your project ID or reply with
N/A
. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.Solution
generally it's best practice to keep server/database time in UTC and only convert out to the desired time zone when needed
um
rc has even recommended that too
and he knows a whole lot more than me
alright, I guess
there is a command though
I can't remember it right now
it's okay, better to keep container in UTC because the databases are also in UTC
oh good point, I didn't think of that
plenty simple enough to convert UTC to UTC +1, and doesn't require modifying the containers timezone 🙂
thank you all, I will keep it UTC, then convert it to client time zone in the frontend ?
Yup, that would be best.