]> git.ipfire.org Git - thirdparty/util-linux.git/commit
cal: check biggest week number correctly when highlighting
authorSami Kerola <kerolasa@iki.fi>
Thu, 27 Aug 2015 13:21:29 +0000 (14:21 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 31 Aug 2015 08:15:12 +0000 (10:15 +0200)
commit03f8bc1f327b21d4a5311733f175ceabda5f3f2d
treed4235c77dbf21b5de3fa3f3797dbabec50b2b814
parente1abe57e18facab690d70a6cd02139cb1066c25f
cal: check biggest week number correctly when highlighting

This allows Sunday based week 54 be highlighted, and deny week 54 for
Monday based weeks when year has only 52 weeks.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/cal.c
tests/expected/cal/weekarg
tests/ts/cal/weekarg