Created, last saved and last printed dates for .doc files are off by 1 day
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://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: file 5.04-5ubuntu3
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelMo
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)