delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/23/21:35:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 24 Oct 2002 11:35:45 +1000 (EST)
From: luke DOT kendall AT cisra DOT canon DOT com DOT au
Subject: touch run from DOS: time wrong
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-Id: <20021024013545.6F22D340A1@nevin.research.canon.com.au>
Note-from-DJ: This may be spam

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019