]> git.ipfire.org Git - thirdparty/util-linux.git/commit
cal: fix --span for large numbers of months
authorKarel Zak <kzak@redhat.com>
Tue, 7 Aug 2018 08:52:33 +0000 (10:52 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 7 Aug 2018 08:52:33 +0000 (10:52 +0200)
commit2395f93c8ca0ba6ff04c0099d5d428c50f66d643
tree20dc1dac6f99e2b65381c045a10165b379b03e18
parent100a140688b54ebdd7e9e5328679e41bdf4141bc
cal: fix --span for large numbers of months

The need to calculate with whole years when go back for --span.

Addresses: https://github.com/karelzak/util-linux/issues/677
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/cal.c