This is the mail archive of the
mailing list for the Cygwin project.
Touch has a bug w/Daylight Savings time in the US
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: Touch has a bug w/Daylight Savings time in the US
- From: "Sean Phelan" <sphelan at sqcn dot com>
- Date: Mon, 3 Apr 2000 18:21:37 -0400
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,
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org