[ https://issues.apache.org/jira/browse/OFBIZ-5608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008458#comment-15008458 ]
Jacques Le Roux commented on OFBIZ-5608: ---------------------------------------- Thanks for details Gareth, Actually it's not based on browser locale, see <screen name="GlobalActions">, something must be wrong in between. We should create another Jira minor improvement for that. So back to our main subject (pfew...). It seems we have to review case by case if we don't want to break anything. I believe both date and time types should use ignore-time-zone=true by default and special cases should be handled otherwise. I even wonder why there should be special cases. BTW, I noticed there is only 1 <date-time type="time"/> (in FormWidgetExampleForms.xml )and <display has only the types "date" and "date-time", not "time". You said {quote} I expected the widget framework could handle other objects (java.sql.Timestamp, java.sql.Time, java.util.Date, maybe even string?). My guess is the majority of cases is java.sql.Date {quote} Why handle other objects? > 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)