X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 26 Oct 2009 11:08:03 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Time differences between USB - HD
Message-ID: <20091026100803.GF16678@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4AE4E191.3070205@alice.it>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4AE4E191.3070205@alice.it>
User-Agent: Mutt/1.5.17 (2007-11-01)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Oct 26 00:38, Angelo Graziosi wrote:
> Just now we are back to Standard Time, I noticed that the files on USB key 
> have timestamps +1 hour, compared to the same on HD.
>
> This happens only under Cygwin: there is not difference under DOS box.
>
> I am sure I am missing something...

I just set the clock of my machine back to the day before yesterday,
created a file on the USB stick and one on the HD.  Then I copied the
file on the stick to HD and the file on HD to the stick.  Afterwards I
stopped my Cygwin shell, reverted the dat to today, and restarted the
Cygwin shell.  The dates are still the same on stick and HD.

Is $TZ set in your shell, maybe?  Is the HD a locale HD or a remote
share?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

