Reputation: 444
Hie,
I have just started using the Digital Ocean App platform to quickly deploy and test our Microservices. One thing that was quickly discovered by our test users was the 2-hour difference in terms of time indicated on some of the messages sent to the customer. We are using CAT / GMT(+2) but the servertime is 2 hours behind. So the question is, how do we change the DO App Platform Servers to Our TimeZone to get the correct time?
Upvotes: 2
Views: 3034
Reputation: 19
I added it to the App-Level Environment Variables under Settings - App and that works. Don't know if that works as well if you add them into the Environment Variables of the component as well?!
Upvotes: 0
Reputation: 444
I found the answer from the Digital Ocean Community. The solution to this is to simply add timezone declaration in the environment variables as this: TZ="Africa/Malawi"
. It works!
Upvotes: 3