bug#80974: Add Time conversion specifiers quick reference
Dan Jacobson <[email protected]> Fri, 08 May 2026 16:52:26 +0800
| Newsgroups | gmane.comp.gnu.core-utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "CF" == Collin Funk <[email protected]> writes: CF> My concern with a one liner or table of examples is that it risks being CF> misleading for, in my opinion, very little benefit. CF> An easy example is %H and %I which look the same for half of CF> day: CF> $ for spec in H I; do date -d 12:00 +%$spec; done CF> 12 CF> 12 CF> $ for spec in H I; do date -d 13:00 +%$spec; done CF> 13 CF> 01 Indeed the manual could just say: "One might be tempted to put together foolhardy scripts like [Dan Jacobson version], which depending on the time of the day, might lead the user to believe .. ..."