Home → The Classics → Farai's Codelab
Damn, Time Zone Rendering Issue Got Hands
Published: Updated:
I had an issue on my site where the timestams weren’t showing the timezone when I tried to render them out on HTML. Something like this (note the highlighted portion):
I thought this would be a quick thing to fix but it turns out that the issue might have to do with Golang itself. techmagus documented the issue extensivley so I won’t post too many examples, but it seems like there’s not much I can do besides setting the intended timezone as an environment variable in my site’s CI. I don’t know if it’ll affect the cron job I run at 4am UTC every day, but I don’t want to spend more time on this.
In other words,