Re: An experiment about file timestamp (was: Timestamps jump by one hour when switching timezone)
On Thu, 04 Nov 2010 15:23:13 +0000, Rodolfo Medina wrote:
> Chris Jackson writes:
>> File timestamps are (or at least should be) stored in UTC. It's the
>> display of them that's affected.
> But I did the following experiment: on a computer with system time set
> to UTC, I created a file at 14:43 UTC. Then I copied it via rsync and
> ethernet cross cable to another PC with system time set to GMT, one hour
> late respect to UTC. I expected that, on the 2nd PC, the timestamp was
> displayed in the local time, i.e. 15:43; instead, it appears as 14:43 as
> well. (For the copy I used the -t option.)
> So, according with this experiment it is not true that the displayed
> time is in local format.
Mmm, nope :-)
I think you didn't get the whole picture.
Look, it is very well explained in this Gentoo FAQ:
Consistent times on FAT filesystems over the whole year