>>>> Martin Buchholz writes:
>>>> "AJ" == Andreas Jaeger <aj(a)suse.de>
writes:
AJ> Btw. we check for < 70 but shouldn't we check for < 69?
AFAIK the
AJ> rule is that 69-99 refers to the twentieth century.
Martin> According to what standard?
That's the way we handle it in glibc:
/* The "Year 2000: The Millennium Rollover" paper suggests that
values in the range 69-99 refer to the twentieth century. */
and glibc is standard enough for me ;-)
Martin> It seems `obvious' to me that a 2-digit year specification should use
Martin> a +-50 year window from the *current* date. Another possibility is to
Martin> look backwards in time 67 years, forward 33 years, since people live
Martin> more in the distant past than the distant future.
Martin> ``Ah, yes... I remember, way back in '45, when the war was finally
over...''
Martin> But I'm not seriously suggesting we implement that.
Martin> Martin
--
Andreas Jaeger
SuSE Labs aj(a)suse.de
private aj(a)arthur.rhein-neckar.de