🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mailing.freebsd.questions
Article #1

date command is great but could use improvements

#1
From: David Chmelik
Date: Fri, 20 May 2022 23:50
22 lines
2150 bytes
I use date command formats to detail my XFCE system-tray clock.  However, 
weekdays are 0 to 6.  I'd like to be able to numbers them 1 to 7.  No 
programmer/sysadmin/scientist/professor who uses UNIX[-based] operating 
systems ever said 'zeroth day' to me.  Even though I've programmed since 
1993, if my clock said day 0, then I know it's Sunday, but for all after 
I'd think it's day average users think/numerate, and might miss things I 
have to do.  Majority (almost 97+% non-programmers) uses PCs now, with 
most popular ones being inspired/cloned from UNIX, so date command should 
have options for average users.

Date sets days in month, months & civil time from 1: why not weekdays?
Could it be considered for adding?

Other UNIX-like date commands can count weeks in year, 1 to 53 (sometimes 
there are 53, not in full,) quarters/seasons in year, and have option 
Monday starts week (Europe, etc.)

The old European calendar (still in some use) also counts days of the 
year, 1 to 365 or 366.

Another British Isles time unit is fortnight: 14 days (which I like and 
of course has week 1 & 2.)
Technical Details
Message-ID: <t699fg$br4$3@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf2.newsdeef.eu!news.usenet.farm!..!..!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <t699fg$br4$3@dont-email.me>
Subject: date command is great but could use improvements
Date: Fri, 20 May 2022 23:50:09 +0000
From: David Chmelik <dchmelik@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf2.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: mailing.freebsd.questions
Organization: A noiseless patient Spider
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 20 May 2022 23:50:09 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="93980e0953e4fdca3e9dae18cb7f3335";
 logging-data="12132"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+//+sKXgPlCkIF8Qh6AfxAU+rVbTadzAo="
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:gCysH4GWVlmuFE5YOrNtn7t/OGU=