This is the mail archive of the
mailing list for the Cygwin project.
Re: 1.5.25: bug in touch statement
- From: Philippe <jwphubert at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 15 May 2011 12:25:09 +0000 (UTC)
- Subject: Re: 1.5.25: bug in touch statement
- References: <415512198.1687271301267190457.JavaMail.firstname.lastname@example.org> <277043603.1687291301267204451.JavaMail.email@example.com> <firstname.lastname@example.org> <loom.20110515T134854email@example.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:
> 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
> hh has another twist. It will change time an hour MORE than what specified
> the command line. If you want the file date to be 9AM, you enter 08.
> twist, if you specify 1231235511, the file date will be 2012 dec 31, 00h55,
> hour later than the one specified.
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple