]> git.ipfire.org Git - thirdparty/util-linux.git/commit
cal: simplify calendar reformat calculations
authorSami Kerola <kerolasa@iki.fi>
Sun, 28 Apr 2013 10:59:59 +0000 (11:59 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sun, 26 May 2013 08:59:18 +0000 (09:59 +0100)
commite8c58289d96b89ce52ced50e71b589b661cf31e4
tree2130dd0fc686e06cf579312af68b8e22e7b66bac
parentf69e869801e6217ef666e685ad2cf01b4ccb7d3b
cal: simplify calendar reformat calculations

The only September 1752 offset calculation that is necessary is whether
Sun or Mon is the first day of the week.

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