Re: date command is great but could use improvements

2022-07-04 Thread Carl Edquist
On Sun, 3 Jul 2022, David Chmelik wrote: On 5/26/22 12:16 PM, Carl Edquist wrote: In the states i am used to Sunday being the first "day of the week", but "weekdays" refer specifically to Monday-Friday, thus even in the states, Monday is the first "weekday" :) 'Weekday' abbreviates 'day of wee

Re: date command is great but could use improvements

2022-07-03 Thread Kaz Kylheku
On 2022-07-03 04:09, David Chmelik wrote: >> (And, no, 1900 was not the zeroth year of the 20th century.  It was the >> 100th year of the 19th century!) > Most people say first of 20th century; I don't think anyone says 'one to 10 > are ones; 11 is first of the tens,' rather than zero or one to n

Re: date command is great but could use improvements

2022-07-03 Thread David Chmelik
Year, season, month, fortnight, week (in the year) & their day numbers should all be possible to get/print starting from '1' (regardless of calendar/country) in date command format itself (so usable in X Window System clocks, etc.)  I'll reply to a couple replies. On 5/24/22 1:30 PM, Bob Proul

Re: date command is great but could use improvements

2022-05-26 Thread Carl Edquist
Hi David! Looks like Bob gave an excellent, thorough reply. (Thanks Bob!) For fun, a couple details about "counting" caught my eye from your email: On Fri, 20 May 2022, David Chmelik wrote: I'm European-American, programming since 1993, and may recall Monday was first weekday growing up in

Re: date command is great but could use improvements

2022-05-24 Thread Bob Proulx
David Chmelik wrote: > I noticed two types for weeks in year: 1 to 53, 0 to 53, numbering > 54 weeks, but there can't be 54, right? > Only two options exist to number weekdays, when should be > more/user-configurable. The %Y and %U or %W options work in combination. Use %U for wee