Trash spec: directory size cache

Ryan Lortie desrt at desrt.ca
Mon Apr 15 05:25:53 PDT 2013


hi,

On 2013-04-15 13:43, Alexander Larsson wrote:
> On mån, 2013-04-15 at 10:19 +0200, Ryan Lortie wrote:
>> No strong objections to turning it into unix-timestamp-in-UTC though.
>
> NOOOO! The timestamp timezone of a mtime is undefined, and may be
> different from the actual timezone of the computer doing the stat()
> call, for instance for NFS mounts. There is no reason whatsoever to do
> anything to the value returned from stat, as all we do with it is
> compare it to a later stat value. Any kind of timezone conversion on it
> will not help and may hurt.

The kernel time is in UTC...

Cheers



More information about the xdg mailing list