fd.o trash specification - DeletionDate timezone

Martin Stolle mstoll at sus.mcgill.ca
Tue Sep 16 13:15:07 PDT 2008


On Tue, Sep 16, 2008 at 09:36:49PM +0200, Alexander Larsson wrote:
> On Mon, 2008-09-15 at 15:48 +0200, David Faure wrote:
> 
> > > In the language of RFC 3339, the current format of the
> > > DeletionDate field is "4.4. Unqualified Local Time".  I propose
> > > that the format of DeletionDate be changed to "4.2. Local Offsets"
> > > (e.g. 1996-12-19T16:39:57-08:00) or "4.1. Coordinated Universal
> > > Time" (e.g. 1996-12-20T00:39:57Z), i.e. standard RFC 3339.
> > 
> > I agree with this proposal.
> > 
> > Alexander, do you?
> > I don't want to start writing out stuff that would break your implementation :-)
> 
> Its ok with me. ATM we don't have any code that parses this, we just
> handle it as a string.
> 
> OTOH, I don't think its a huge problem, as all other filesystem times
> are in an unspecified timezone anyway...
> 

Is that true?  While FAT uses local time, ext3 (2?), reiserfs and
NTFS (and hopefully all modern fs) store times in UTC (or UTC like data
like seconds since epoch).  (Note how ls -l changes when you change your
local timezone)

Martin



More information about the xdg mailing list