Re:Strftime's alpha-sorted man page vs. well-meaning people
by userbinator on Sunday May 13, 2018 @01:40PM
(#17060013)
Making things horribly verbose (and thus prone to typos, introducing extra complexity in implementation, etc.) is a poor excuse for actually learning how something works so you can use it effectively and efficiently. The most common cases of strftime() are highly mnemonic, so much that seeing "%G %m %d" instead of the more common and correct "%Y %m %d" should make you wonder if it was really intended.
but also, let's reduce gotchas in the design
%Y being the correct format to use most of the time is not a "gotcha". If the roles of %G and %Y were reversed I would agree.
but also, let's reduce gotchas in the design
%Y being the correct format to use most of the time is not a "gotcha". If the roles of %G and %Y were reversed I would agree.