This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Touch has a bug w/Daylight Savings time in the US


Hi all,

In case I'm the first one to discover this, there's a problem with Cygwin's
TOUCH. It doesn't handle the daylight-savings crossover properly.

--------------------
Once the Daylight-Savings is crossed (ex:4/1/99), touch improperly sets the
file date if the date is before this crossover date.
EX: "touch 0401120900 file.ext" will set the date to 1:09p instead of 12:09p
BUT: "touch 0403120900 file.ext" will set the date to 12:09p as expected.
Naturally, this is a bug which could bite someone.
--------------------

Hope this helps,
Sean



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]