Re:New in Go 1.20: wrapping multiple errors
by masklinn on Monday December 12, 2022 @06:36AM
(#33953562)
βJan 2006β and short month, short month, minutes?
Re:New in Go 1.20: wrapping multiple errors
by divan on Monday December 12, 2022 @08:37AM
(#33954472)
To be clear "Jan 2006" - is a format string. Current date would yield "Dec 2022", obviously.
R example - it's "Long month, hour, decimal minute", so something like "December 15 35"
So you got Go format style right, and alphabet-style wrong. But Go's format is worse, right?
Let's put it to the pragmatic challenge. What will be the output of Go's "Jan 2006" and of R's "%B %h %M" format strings? Don't google.