[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
bug#12318: gnu date has incorrect date when using date math during a leap year
Fri, 31 Aug 2012 22:06:50 +0000 (UTC)
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-----
Thank you for discussing this.
On further thought…
It seems that the "day" again is being "inserted" into this
situation, "ruining" the "proper answer".
I can see the automatic assumption of assigning "Day=Today" in
the present logic. Again I would suggest a new option such as
- --no-assumptions or --pedantic to tell it *not* to make [such]
assumptions when that "piece" is not part of the "picture".
Let me explain:
The o.p. (Mr Mizell) shows several lines with only the month
and year to be presented. No "day" at all. The "A.I."
implied would be rather simple: it's begging to say "I don't
care about the Day, just deal with the Month [and Year] in
By having just-this-much logic in GNU-date could perhaps
alleviate many of these type problems without breaking so-many
historical things while simultaneously providing "correct"
answers [hopefully finally]. Still without having to use the
Day-15 trick of course. ;)
(…yeah, I still wouldn't know how to code this, alas…)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (Darwin)
Comment: GPGTools - http://gpgtools.org
-----END PGP SIGNATURE-----