ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Crum (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-5608) Dates Displaying Incorrectly With Negative Offest Timezones.
Date Sat, 26 Apr 2014 14:49:15 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-5608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982006#comment-13982006

Adrian Crum commented on OFBIZ-5608:

"Your testcase proves this but is irrelevant"

But it IS relevant. WHEN does the date begin? It depends on the time zone.

"I cannot see any flaws in fixing ofbiz to not apply a timezone to java.sql.Date only"

Because you ARE applying a time zone to java.sql.Date - the default time zone. That was the
point of my test case. Your patch assumes removing a reference to a TimeZone fixes the problem,
but it doesn't. It doesn't REMOVE the time zone reference from java.sql.Date, it merely switches
it to a different one.

> Dates Displaying Incorrectly With Negative Offest Timezones.
> ------------------------------------------------------------
>                 Key: OFBIZ-5608
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5608
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk, Release Branch 12.04, Release Branch 13.07
>            Reporter: Rupert Howell
>            Priority: Minor
>             Fix For: SVN trunk
>         Attachments: ObjectTypeTests.patch, dates.patch, dates_1589040.patch
> Dates are displaying incorrectly when negative offset (relative to UTC) are applied by
the users settings.

This message was sent by Atlassian JIRA

View raw message