News for hackers. Stuff that matters.
Re:Major standard library changes in Go 1.20 by bkq on Tuesday January 17, 2023 @03:54AM (#34410462)
On the contrary, I much prefer the fixed date of "2006-01-02T15:04:05" for formatting time strings. I find it much easier to write "Mon 02, Jan 2006", than what you would usually put for the strftime equivalent, "%a %d, %b %Y" (had to look it up, and at a glance it's not that obvious what it formats to). With Go, all you need to memorise is the date itself. Granted, coming from other languages it can take a bit of getting used to.

There are no comments on this comment yet.