[jira] [Commented] (OFBIZ-5608) Dates Displaying Incorrectly With Negative Offest Timezones.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5608) Dates Displaying Incorrectly With Negative Offest Timezones.

Nicolas Malin (Jira)

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

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

Actually from what I remember, we had to change the VisualThemeResource to load the UK datejs file, something has changed in trunk for this to happen as I am pretty sure datejs was loaded from browsers locale.

The only other object I would advise to handle is a string object which represents a date/time/date-time in ISO format only but this a matter of opinion. You could just leave it as java.sql.Date is the object only used to represent a date field throughout ofbiz (including java.sql.Time for time and java.sql.Timestamp for date-time)

<display does not have time? Might be worth adding it for continuity

> 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
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: DateField_1.jpg, DateField_2.jpg, 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)