This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

touch run from DOS: time wrong


I just discovered, by writing a touch.bat file that runs cygwin's
touch.exe, that if you specify a date and time, the time set on the
file is 1 hour earlier than it should be.

touch.exe run from within Cygwin sets the time correctly.

I.e. %CYGDRIVE%\cygwin\bin\touch 0830091502 xxx
sets xxx to have a file modification time of 8:15am instead of 9:15am.

NB: In Sydney Australia this weekend, we'll be setting our clocks
forward one hour.  Might be relevant.

luke


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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