[
https://issues.apache.org/jira/browse/OFBIZ-5608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gareth Carter updated OFBIZ-5608:
---------------------------------
Attachment: dates_1589040.patch
This issue has not been fixed, I have updated the patch for the current trunk
rev and also updated webtools ListGeneric.ftl because freemarker has exactly
the same problem when you use ?string builtin
I believe there is the assumption that because java.sql.Date inherits from
java.util.Date that it should behave in a similar way where formatting is
concerned but if you take a look at http://www.date4j.net/ or even the source
code for java.sql.Date, you can see that the overridden toString and static
valueOf (which doesn't exist in java.util.Date) do not reference any timezone.
Whereas java.util.Date toString can output the default timezone and you have to
use a DateFormat object to parse a string
> 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)