https://issues.apache.org/bugzilla/show_bug.cgi?id=53077
Bug #: 53077
Summary: [PATCH] Format date to make the lengths independent of
DST
Product: XMLGraphicsCommons
Version: Trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XMP
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 28605
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28605
A diff file of the changes
When performing automatic tests of the PDF output and using diff, having the
dates swap between UST and DST caused these tests to fail due to the differing
date sizes in each generated file. At present a Z would be added for Universal,
while a +hh'mm' would be added for DST. After studying the specification, in
order to keep the size of dates constant it is acceptable to replace the Z with
a +00:00 which results in the same date, but maintains file sizes regardless of
when the tests are run. Due to duplications in date code between the FOP and
XGC proects, both have been moved to a single utility class in the XGC project.
The code has also been tidied up.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]