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 09:58:18 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53184

--- Comment #6 from Vincent Hennebert <vhennebert@gmail.com> ---
Try changing line 144 of DateFormatUtil.java from:
String dateFormat = (date.contains("Z")) ? "'Z'" : "Z";
to
String dateFormat = (date.contains("Z")) ? "+0000" : "Z";

I suppose that contrary to Linux, Mac and Windows systems assume local time
when no time zone information is present in the date to parse.

HTH,
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