Hmmm, it might be that I'm misunderstanding the syntax. I'm used to specifying
dates for repeating calendar events, and, to me, "first Saturday" means the
"first Saturday of the month", and not the next Saturday from now.
-- Darryl
-Original Message-
From: Bob Proulx
Sent: Monday,
Bob Proulx wrote:
Inconsistencies like this are why I wish it had never been implemented.
Best to avoid the syntax completely.
Thanks. I'll avoid date and use either python or ruby to get this info.
-- Darryl
8 00:00:01 PST 2022
I just noticed that "second Saturday" is being parsed as "Saturday + 1 second".
-- Darryl
-Original Message-
From: Bug-coreutils
On Behalf Of Darryl Okahata via GNU coreutils Bug Reports
Sent: Wednesday, January 5, 2022 3:15 PM
22-01-22 00:00:00 (UTC-08)
src/date: output format: ‘%a %b %e %H:%M:%S %Z %Y’
Sat Jan 22 00:00:00 PST 2022
-- Darryl
-Original Message-
From: Andreas Schwab
Sent: Wednesday, January 5, 2022 2:10 PM
To: Darryl Okahata via GNU coreutils Bug Reports
Cc: 53...@debbugs.gnu.org; Darryl Okahata
(This has been verified to occur with 9.0.)
$ date -d "first saturday"
Sat Jan 8 00:00:00 PST 2022
Unless there is some weird definition of "first Saturday", shouldn't this be
the 1st (New Year's Day)?
Also, I ran this last week (I think on the 29th or the 30th), and it did