X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.2 required=5.0	tests=AWL,BAYES_40,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,TW_HH,TW_JW,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Philippe <jwphubert@gmail.com>
Subject: Re: 1.5.25: bug in touch statement
Date: Sun, 15 May 2011 12:25:09 +0000 (UTC)
Lines: 38
Message-ID: <loom.20110515T142237-268@post.gmane.org>
References: <415512198.1687271301267190457.JavaMail.root@zimbra6-e1.priv.proxad.net>	<277043603.1687291301267204451.JavaMail.root@zimbra6-e1.priv.proxad.net> <871v1scd5c.fsf@navakl084.mitacad.com> <loom.20110515T134854-740@post.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Philippe <jwphubert <at> gmail.com> writes:

> I've found an interesting behaviour with this command on my Windows 7 64bits 
> system.  It seems that there is a bug, or that we should change the 
> documentation... But I can get around with the following date/time format:
> 
> MMddhhmmyy
> 
> where
> 
> MM: Month (01-12)
> dd: day (01-31)
> hh: hours (00-23)
> mm: minutes (00-59)
> yy: 2 digit year
> 
> yy is interesting.  00 to 37 yields 2000 to 2037.  70 to 99 yields 1970 to 
> 1999.  38 to 69 leaves the date unchanged, even for new correct time, day or 
> month.
> 
> hh has another twist.  It will change time an hour MORE than what specified 
on 
> the command line.  If you want the file date to be 9AM, you enter 08.  
Another 
> twist, if you specify 1231235511, the file date will be 2012 dec 31, 00h55, 
an 
> hour later than the one specified.
> 
> Philippe
> 
> 
Sorry, little mistake.  On my previous post, your should read:

"Another twist, if you specify 1231235511, the file date will be 2012 jan 01, 
00h55, an hour later than the one specified."





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

