diff options
author | Ron Yorston <rmy@pobox.com> | 2021-09-18 08:40:44 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-18 22:55:46 +0200 |
commit | f27a6a94a7fb172a6768bc450dbdec68f15bc78f (patch) | |
tree | 3c96ddf79ecf2658d43a839f193878e52d2ec846 /util-linux/cal.c | |
parent | 6d2463ac01dd88cc4359ebbeae9cd757ce037c2b (diff) |
libbb: code shrink parse_datestr (again)
Commit 9fe1548bb (date,touch: allow timezone offsets in dates)
mentioned the similarity between '@' format dates and those with
timezone offsets. It didn't notice that as a result there's
common code which can be shared.
function old new delta
parse_datestr 730 687 -43
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-43) Total: -43 bytes
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/cal.c')
0 files changed, 0 insertions, 0 deletions