GNU bug report logs -
#12318
gnu date has incorrect date when using date math during a leap year
Previous Next
Reported by: John Mizell <john.mizell <at> gmail.com>
Date: Fri, 31 Aug 2012 16:26:02 UTC
Severity: normal
Tags: notabug
Done: Bob Proulx <bob <at> proulx.com>
Bug is archived. No further changes may be made.
Full log
Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I am just a passerby here. But when I see these specific
kinds of "errors", especially due to "month" usages, I always
have a thought: How would we make GNU-date to operate on the
Month Number Itself when we type "month" in the --date string,
and stop its assumption that we mean "30 days" by this usage?
We would not need to do this fooling-around with the Day-15
trick as shown.
I think this is where the "misusage" is being done by us
plain-ol' folk. ;)
I hope I've expressed correctly what I mean with this thought.
(And I know: "Patches welcome." <g>)
Thanks for letting me interject my thought on this.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (Darwin)
Comment: GPGTools - http://gpgtools.org
iQEcBAEBAgAGBQJQQQP3AAoJEKkeWNKet7+KvpgH/RrOXg+DPYVvydJvWLPQy+Mr
7qcdBhtZhyqr++miO2s96231fbxy0r3T3QMMqmHqvzmJnmfkimNce0ax2AuKRh1s
RUS0mWzHE3qmdJQn8kataAdgK8tDjqawLCF9vxM4F4vjNyjBYSqDvLjr5zVYI1GV
uTBmwpRfPfi0GlsBd5sLW+HC1ipfkqr6zOEWT4R9XrvGNLcyKeWCX2ShKMLxGMiF
pgHJN+60mG18PpF/hF2GkPcnSpOWL2le+E9Jdw+UnzpIf5BkKN5DK3l4NHNKndW/
TeLqQoQvC+Aa4HxVK3VPLIS6egS4ttjP6By7WCisbxELbmaYD60SFMJrujZKRxo=
=/bjb
-----END PGP SIGNATURE-----
--
This bug report was last modified 12 years and 362 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.