]> git.ipfire.org Git - thirdparty/util-linux.git/commit - misc-utils/cal.1
cal: added -w|--week for showing week numbers
authorTommi Kyntola <kynde@iki.fi>
Sun, 6 Oct 2013 18:44:45 +0000 (21:44 +0300)
committerKarel Zak <kzak@redhat.com>
Tue, 22 Oct 2013 08:27:03 +0000 (10:27 +0200)
commitc36c4a4e4d3e701f378f4bea15a6320a4447da89
treef6f4b39aa7e1c5fb089857ed03a6ae221c064288
parenta2c047e01799691bee765f13057f495bb43729e9
cal: added -w|--week for showing week numbers

Added week numbers both in ISO-6801 and North America numbering.
The mode is determined by first day of the week, Monday
for ISO and Sunday for North America mode.

ISO week numbers are defined as the first Thursday being part of week 1.
The North America numbering is defined, at least by gcal, as first Sunday
being in the first week.

Signed-off-by: Tommi Kyntola <kynde@iki.fi>
bash-completion/cal
misc-utils/cal.1
misc-utils/cal.c