R
Railway•2y ago
khalid_bo

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:
generally it's best practice to keep server/database time in UTC and only convert out to the desired time zone when needed
Jump to solution
10 Replies
Percy
Percy•2y ago
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
Brody
Brody•2y ago
generally it's best practice to keep server/database time in UTC and only convert out to the desired time zone when needed
root
root•2y ago
um
Brody
Brody•2y ago
rc has even recommended that too and he knows a whole lot more than me
root
root•2y ago
alright, I guess there is a command though I can't remember it right now
Brody
Brody•2y ago
it's okay, better to keep container in UTC because the databases are also in UTC
root
root•2y ago
oh good point, I didn't think of that
Brody
Brody•2y ago
plenty simple enough to convert UTC to UTC +1, and doesn't require modifying the containers timezone 🙂
khalid_bo
khalid_boOP•2y ago
thank you all, I will keep it UTC, then convert it to client time zone in the frontend ?
root
root•2y ago
Yup, that would be best.
Want results from more Discord servers?
Add your server