Created, last saved and last printed dates for .doc files are off by 1 day

Bug #900897 reported by Gillen Daniel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
file (Ubuntu)
New
Undecided
Unassigned

Bug Description

Creating f.ex. a new .doc document and running file on it reports created, last saved and last printed dates that are off by one day (it appears as if the document was created yesterday).

This might probably be fixed by patching the source file cdf_time.c as follows:

129c129
< t -= rdays;
---
> t -= (rdays-1);

$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
$ apt-cache policy file
file:
  Installed: 5.04-5ubuntu3
  Candidate: 5.04-5ubuntu3
  Version table:
 *** 5.04-5ubuntu3 0
        500 http://lu.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: file 5.04-5ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Dec 6 20:30:02 2011
EcryptfsInUse: Yes
InstallationMedia: Xubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110416)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: file
UpgradeStatus: Upgraded to oneiric on 2011-10-17 (50 days ago)

Revision history for this message
Gillen Daniel (gillen-dan) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.