News for hackers. Stuff that matters.
Re:A simple file encryption tool and format by lozf on Sunday October 06, 2019 @07:07PM (#21175857)
There are several standards that specify how offsets should appear, but only Go uses Z (meaning Zero offset, aka UTC equivalent) followed by what appears to be a _positive_ number to represent a _negative_ offset...

By this logic we can expect to see a Moscow time stamp represented as HH:MM:SS+03:00 in every other program, and HH:MM:SSZ-03:00 only in Go.

It's just wrong, for no good reason.

Re:A simple file encryption tool and format by lann on Sunday October 06, 2019 @07:11PM (#21175884)
You are misunderstanding what you are seeing. The Z does not represent a literal Z in parsing/formatting.

https://play.golang.org/p/Qp-bBtzKpG-

Re:A simple file encryption tool and format by lozf on Sunday October 06, 2019 @07:18PM (#21175907)
OK, Thanks for clearing that up.