Can week start day be changed in cal output?
Is it hardcoded? Notice: not the ncal.
Asked
Active
Viewed 1,963 times
4
Mateusz Piotrowski
- 4,623
- 5
- 36
- 70
int_ua
- 243
- 1
- 7
2 Answers
3
For util-linux
man cal:
-m, --monday
Display Monday as the first day of the week.
For FreeBSD According to this recent thread on the FreeBSD boards, you will need the deskutils port.
For Ubuntu
There is a bug report: seems you can either use ncal or the debian patch.
jasonwryan
- 71,734
- 34
- 193
- 226
-
We have different versions. Line from FreeBSD manual: `-m month Display the specified month.` – int_ua Oct 08 '12 at 01:28
-
2Works fine here... `util-linux 2.22-6` You might have specified BSD – jasonwryan Oct 08 '12 at 01:29
-
Didn't know there are multiple variants. I'm on Ubuntu 12.04, actually, but cal is provided by bsdmainutils 8.2.3. And `dpkg -L util-linux | grep cal` gives nothing. – int_ua Oct 08 '12 at 01:35