Blog post: A Go time package gotcha with parsing time strings that use named time zones

tl;dr: if you parse a time that uses a named time zone like 'EST' and you aren't in Eastern time (or the applicable time zone), Go actually gives you a time in UTC that claims it's in 'EST'. There are many problems here.

· · Web · 1 · 0 · 0
Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!