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

Gareth Carter commented on OFBIZ-5608:
--------------------------------------

I will confirm and get back to you but on initial inspection of the patch, it 
seems like it would do the job.

I doubt that this would be useful for anything but java.sql.Date and maybe 
java.sql.Time. It makes no sense to apply a different timezone to java.sql.Date 
when you don't know the time or to java.sql.Time when you don't know the date.

I supposed for java.sql.Time you could use the current date but depending on 
the system timezone, user's timezone and current date the outcome could change 
from one day to another (eg DST)

> 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: Release Branch 12.04, Release Branch 13.07, Trunk
>            Reporter: Rupert Howell
>            Priority: Minor
>         Attachments: IgnoreTimeZone.patch, ObjectTypeTests.patch, 
> dates.patch, dates_1589040.patch, sqldate_scenarios.png
>
>
> Dates are displaying incorrectly when negative offset (relative to UTC) are 
> applied by the users settings.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to