This is the mail archive of the
mailing list for the Cygwin project.
Re: 1.7.9 : date command fails for year 1900
> Thanks for corroborating my finding. Does anybody else think it is odd
> that this has not been pointed out before?
My Ubuntu Hardy box exhibiting the same behavior.
> Why would date use signed long integers to hold numbers of seconds?
Because, you know, UNIX time is a number of seconds elapsed since midnight
Coordinated Universal Time (UTC) of Thursday, January 1, 1970.
It makes sense to define times before that as negative.
I think, it's just a tradeoff you have to live with. For now, at least.
Andrey Repin (email@example.com) 23.01.2012, <15:03>
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple