1.7.9 : date command fails for year 1900

Andrey Repin anrdaemon@freemail.ru
Mon Jan 23 11:20:00 GMT 2012


Greetings, cygwin!

> 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.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 23.01.2012, <15:03>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list