[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Creation date
From:       Nicolas Goutte <nicog () snafu ! de>
Date:       2002-06-03 20:18:00
[Download RAW message or body]

On Monday 03 June 2002 17:23, David Faure wrote:
> On Monday 03 June 2002 17:04, Nicolas Goutte wrote:
> > On Sunday 02 June 2002 23:08, Lenny wrote:
> > > > > b) I noticed that while unzipping a karbon file the dates of the
> > > > > resulting files are all "Dec 31  1979". That's a bit confusing.
> > > > > Bug/feature/standard?
> > > >
> > > > With which exact time point?
> > >
> > > Mon Dec 31 00:00:00 1979
> >
> > Curious date indeed.
> >
> > In the meantime, I have found that the ZIP file are saved with an invalid
> > date 1980-00-00. I suppose that unzip makes the best out of this invalid
> > date.
>
> Indeed, kzip saves four '0' bytes in place of the last-modified date.
> I guess it should use QDateTime::currentDateTime() instead.
> Holger, what's the format of those date/time fiels in a ZIP file?

It is the MSDOS date/time format.

Patch follows (only for KOffice, somebody will need to port it to 
kdelibs CVS HEAD.)

Have a nice day/evening/night!


_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic