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 Fri, 04 May 2012 16:13:22 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53184

--- Comment #4 from Glenn Adams <gadams@apache.org> ---
(In reply to comment #3)
> Hi Glenn, Chris,
> 
> I was just about to post the fact I received the e-mail, but Chris just got
> there before me. Please let me know if there is anything else you need from
> me.
> 
> Best Regards,
> 
> Robert Meyer

test testDateFormattingISO8601 fails in the second assert below

String s = XMPSchemaAdapter.formatISO8601Date(dt, TimeZone.getTimeZone("GMT"));
assertEquals("2008-02-07T15:11:07Z", s);
assertEquals(dt, DateFormatUtil.parseISO8601Date(s));

with the following output

Testcase: testDateFormattingISO8601 took 0.01 sec
        FAILED
expected:<Thu Feb 07 07:11:07 PST 2008> but was:<Thu Feb 07 15:11:07 PST 2008>
junit.framework.AssertionFailedError: expected:<Thu Feb 07 07:11:07 PST 2008>
but was:<Thu Feb 07 15:11:07 PST 2008>
        at
org.apache.xmlgraphics.util.DateFormatUtilTestCase.testDateFormattingISO8601(DateFormatUtilTestCase.java:45)

i am running on MacOS X 10.6.8 and my current time zone is -8:00 (US/PDT)

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

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