]> git.ipfire.org Git - thirdparty/util-linux.git/commit
cal: added argument option for -w|--week to display that week
authorTommi Kyntola <kynde@iki.fi>
Mon, 7 Oct 2013 11:32:23 +0000 (14:32 +0300)
committerKarel Zak <kzak@redhat.com>
Tue, 22 Oct 2013 08:32:32 +0000 (10:32 +0200)
commitaae4f87e6892f7bbda82444f2dbf38bc83aa1fce
tree0588cfc3114523e31bd66ae454cff23a4023fb0d
parentdb652f617e7efc0709b272198ac0acf041ffc1d4
cal: added argument option for -w|--week to display that week

Because many years have two sections of week 52 or 53, the week that
this argument points to is the one that starts during that year (when available).
The week number in argument is also highlighted in addition to possibly visible
current/defined date highlighting.

Signed-off-by: Tommi Kyntola <kynde@iki.fi>
misc-utils/cal.1
misc-utils/cal.c
tests/expected/cal/weekarg [new file with mode: 0644]
tests/ts/cal/weekarg [new file with mode: 0755]