🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: mailing.freebsd.questions
1 messages
1 total messages Started by David Chmelik Fri, 20 May 2022 23:50
date command is great but could use improvements
#1
Author: 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.)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads