[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12318: gnu date has incorrect date when using date math during a lea
From: |
SciFi |
Subject: |
bug#12318: gnu date has incorrect date when using date math during a leap year |
Date: |
Fri, 31 Aug 2012 18:40:10 +0000 (UTC) |
User-agent: |
Pan/0.139 (Sexual Chocolate; GIT 4162e82 (git.gnome.org/pan2/master); x86_64-apple-darwin10.8.0; gcc-4.2.1 (Apple build 5666 (dot 3)); 32-bit mode) |
-----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-----
--