This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.5.25: bug in touch statement
- From: andre <akiki at free dot fr>
- To: cygwin <cygwin at cygwin dot com>
- Date: Mon, 28 Mar 2011 20:10:08 +0200 (CEST)
- Subject: Re: 1.5.25: bug in touch statement
On Mon, Mar 28 2011, Toby Allsop 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.
You are surely right.
I could'nt imagine it was a bug! but I am also missing of imagination...
Thanks for the answer.
-- Andre --
--
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