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

Adrian Crum commented on OFBIZ-5608:
------------------------------------

>From my perspective, the assumption being made is that a date does NOT 
>reference a time zone.

A date has a beginning and end. When does the day begin? It depends on which 
time zone you are referring to. When does the day end? Again, it depends on 
which time zone you are referring to.

"...you can see that the overridden toString and static valueOf (which doesn't 
exist in java.util.Date) do not reference any timezone". That statement is 
false. Take some time to trace through the constructor, and you will see that 
the millisecond value is derived from a java.util.Calendar instance - which 
references a time zone.

I agree the FreeMarker template issue needs to be fixed, but I don't recommend 
we hack up the framework to remove all TimeZone references.


> 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: 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
(v6.2#6252)

Reply via email to