Date: Sun, 9 Jun 2024 19:25:37 +0300 From: justsomelessons <justsomelessons@gmail.com> To: freebsd-hackers@freebsd.org Subject: Start week from Monday in cal(1) Message-ID: <CALAPbsL7SSYbxAbb_Gqg-zg_5B2G1S_jqMFb7FZSjWb5LPZcpg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALAPbsL7SSYbxAbb_Gqg-zg_5B2G1S_jqMFb7FZSjWb5LPZcpg>