delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Toby Allsopp <Toby DOT Allsopp AT navman DOT co DOT nz> |
Subject: | Re: 1.5.25: bug in touch statement |
Date: | Mon, 28 Mar 2011 13:16:47 +1300 |
Lines: | 22 |
Message-ID: | <871v1scd5c.fsf@navakl084.mitacad.com> |
References: | <415512198 DOT 1687271301267190457 DOT JavaMail DOT root AT zimbra6-e1 DOT priv DOT proxad DOT net> <277043603 DOT 1687291301267204451 DOT JavaMail DOT root AT zimbra6-e1 DOT priv DOT proxad DOT net> |
Mime-Version: | 1.0 |
User-Agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
On Mon, Mar 28 2011, andre wrote: > Hi, > > I can't do on cygwin 1.5.25 : > $ touch -t 201103270200 file > touch: format de date invalide `201103270200' > > nor this equivalent : $touch -t 03270200 file > > It's very surprising , but ... > If I change 27 for 28 it's OK - idem if i change 2011 by 2010... I would guess this has something to do with the transition to daylight saving time, which happened at 0200 on 2011-03-27. This means that the time you are specifying didn't ever exist (in your local time zone) because 0200 became 0300. Perhaps you can get what you want by specifying the time in UTC? Regards, Toby. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |