xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53184] [PATCH] Unify date formatting between FOP and XGC as well as tidying the date format code
Date Tue, 08 May 2012 13:18:44 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53184

--- Comment #7 from Vincent Hennebert <vhennebert@gmail.com> ---
(In reply to comment #6)
Sorry, managed to confuse myself. The pattern should always have a "Z"
(unquoted), and the date to parse should be modified if it contains a 'Z'. In
formatDateToParse:

if (date.contains("Z")) {
    date = date.replace("Z", "+0000");
} else {
    /* the current code */
}

Something like that.

Vincent

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message