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

_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to