Bug 28078 - [PATCH] CreationDate
Summary: [PATCH] CreationDate
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: trunk
Hardware: All All
: P3 enhancement
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-31 07:49 UTC by Tomas Soucek
Modified: 2012-04-01 06:34 UTC (History)
0 users



Attachments
Proposed solution to TimeZone (and full PDF /Info) - PDFInfo.java (6.08 KB, patch)
2004-03-31 08:08 UTC, Tomas Soucek
Details | Diff
(the same) TimeZone solution for fop-0_20_5 (7.21 KB, text/plain)
2004-03-31 08:13 UTC, Tomas Soucek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Soucek 2004-03-31 07:49:27 UTC
[PATCH]CreationDate doesn't use/reflect TimeZone

As Acrobat Reader (v.6.0) displays time corrected to the local TimeZone,
the time generated is generally invalid (shifted by several hours).
The solution could lie in using "SimpleDateFormat with trailing 'Z'";
followed by string tranformation into "...HH'mm'".

When dealing with PDF "/Info" object, why not to enhance
the PDFInfo java code to support all PDF entries defined?

The same "problem" applies to the 0.20.5 version, namely bug 20154.
Comment 1 Tomas Soucek 2004-03-31 08:08:35 UTC
Created attachment 11069 [details]
Proposed solution to TimeZone (and full PDF /Info) - PDFInfo.java
Comment 2 Tomas Soucek 2004-03-31 08:13:42 UTC
Created attachment 11070 [details]
(the same) TimeZone solution for fop-0_20_5
Comment 3 Jeremias Maerki 2004-04-03 08:34:13 UTC
Changes made in HEAD. Thanks a lot! I didn't apply your patch "as is" because 
I thought it would be better to avoid the inner class and the formatting 
method would actually be better placed in PDFObject.

Please realize that the maintenance branch is frozen and your change will most 
likely not be applied there. Thanks anyway!
Comment 4 Glenn Adams 2012-04-01 06:34:12 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed