xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 53077] New: [PATCH] Format date to make the lengths independent of DST
Date Fri, 13 Apr 2012 15:19:03 GMT
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: general@xmlgraphics.apache.org
        ReportedBy: rmeyer@hotmail.co.uk
    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: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message