Subject: Re: bug#11798: touch date bug

From: Paul Eggert <[email-masked]>
Date: Wed, 27 Jun 2012 09:23:12 -0700

On 06/27/2012 02:52 AM, Patrick Castet wrote:
> touch -d "20000102 03:04:05" a0.a

This works for me, on GNU/Linux:

$ touch -d "20000102 03:04:05" a0.a
$ ls -l --full-time a0.a
-rw-r--r--. 1 eggert eggert 0 2000-01-02 03:04:05.000000000 -0800 a0.a

I expect the problem that you're having with Windows
has to do with the file system or the Windows clock,
not with "touch" per se.  That is, I expect you'll
see the same problem regardless of whether "touch"
is used to set the file time stamp.