justsomelessons
2024-06-09 16:25:37 UTC
Hello!
As you can find, FreeBSD cal(1) man page says that
"It is not possible to display Monday as the first day of the week with cal".
But daily it is more comfortable if weeks start from Monday.
I know that there is ncal (vertical) mode which always starts from Monday,
but any other calendar in the world (software or that on the wall) is
horizontal,
so ncal is uncomfortable too.
So I've made a simple patch that adds -M option to cal(1) to start
week from Monday:
https://codeberg.org/vall/stuff/src/branch/main/ncalfixed
By the way, Debian also has set of patches that adds such option:
https://salsa.debian.org/meskes/bsdmainutils/-/tree/master/debian/patches
Can I ask if such an option can be added to the FreeBSD base?
It's highly appreciative if my tiny patches with or without
modifications can be helpful.
Or are there historical or some other reasons for nonpossibility to
start weeks from Monday?
Thank you!
-----
Best regards,
Valentine Astakhov.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
As you can find, FreeBSD cal(1) man page says that
"It is not possible to display Monday as the first day of the week with cal".
But daily it is more comfortable if weeks start from Monday.
I know that there is ncal (vertical) mode which always starts from Monday,
but any other calendar in the world (software or that on the wall) is
horizontal,
so ncal is uncomfortable too.
So I've made a simple patch that adds -M option to cal(1) to start
week from Monday:
https://codeberg.org/vall/stuff/src/branch/main/ncalfixed
By the way, Debian also has set of patches that adds such option:
https://salsa.debian.org/meskes/bsdmainutils/-/tree/master/debian/patches
Can I ask if such an option can be added to the FreeBSD base?
It's highly appreciative if my tiny patches with or without
modifications can be helpful.
Or are there historical or some other reasons for nonpossibility to
start weeks from Monday?
Thank you!
-----
Best regards,
Valentine Astakhov.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de