[Issue] Incorrect internal timestamps in OOo file format?
Posted: Sun Apr 13, 2008 9:12 pm
Hello,
I am trying to manipulate the contents of OOo files internally, which means unpacking the ZIPped ODT file, modifying the files, and then repackaging it. Turns out however that the files stored in the ODT package are incorrectly timestamped four hours in the future, which messes up the ZIP updating. Here's what I'm seeing (having saved template.odt seconds before):
dcorlette@moolap:/tmp> date
Sun Apr 13 15:02:12 EDT 2008
dcorlette@moolap:/tmp> ls -l template.odt
-rw-r--r-- 1 dcorlette users 89448 2008-04-13 15:02 template.odt
dcorlette@moolap:/tmp> unzip template.odt content.xml
Archive: template.odt
inflating: content.xml
dcorlette@moolap:/tmp> ls -l content.xml
-rw-r--r-- 1 dcorlette users 36558 2008-04-13 19:02 content.xml
As you can see, content.xml is incorrectly timestamped in the future. This seems like a bug to me, what do you think? Can you replicate this?
I'm running OOo 2.4.0.1 under SLED10 SP2.
I am trying to manipulate the contents of OOo files internally, which means unpacking the ZIPped ODT file, modifying the files, and then repackaging it. Turns out however that the files stored in the ODT package are incorrectly timestamped four hours in the future, which messes up the ZIP updating. Here's what I'm seeing (having saved template.odt seconds before):
dcorlette@moolap:/tmp> date
Sun Apr 13 15:02:12 EDT 2008
dcorlette@moolap:/tmp> ls -l template.odt
-rw-r--r-- 1 dcorlette users 89448 2008-04-13 15:02 template.odt
dcorlette@moolap:/tmp> unzip template.odt content.xml
Archive: template.odt
inflating: content.xml
dcorlette@moolap:/tmp> ls -l content.xml
-rw-r--r-- 1 dcorlette users 36558 2008-04-13 19:02 content.xml
As you can see, content.xml is incorrectly timestamped in the future. This seems like a bug to me, what do you think? Can you replicate this?
I'm running OOo 2.4.0.1 under SLED10 SP2.