3 ms·
Who'd write/pick %G from the man page when they want a year and day and month have their respective d and m letters? Just because it comes first? And it's spark
by TomK32 8y ago
Who'd write/pick %G from the man page when they want a year and day and month have their respective d and m letters? Just because it comes first? And it's sparkled with NOTES and a suspiciously long explanation.
> %G The ISO 8601 week-based year (see NOTES) with century as a decimal number. The 4-digit year corresponding to the ISO week number (see %V). This has the
same format and value as %Y, except that if the ISO week number belongs to the previous or next year, that year is used instead. (TZ) (Calculated from
tm_year, tm_yday, and tm_wday.)
- pavel_lishin 8y agoYour comment is addressed in the post, twice.