[ https://issues.apache.org/jira/browse/OFBIZ-5608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Crum updated OFBIZ-5608: ------------------------------- Attachment: DateField_2.jpg DateField_1.jpg The attached screenshots sow the problem. https://localhost:8443/partymgr/control/editperson?partyId=admin If my locale is en, the tooltip says the format is "yyyy-MM-dd". If I type in a date in that format and click Save, the field is left empty (the typed-in date was ignored). If I select a date from the calendar popup, then the date appears as "MM/dd/yyyy", and the new value is saved. If my locale is en-GB, the tooltip shows the correct format. If I type in a date in that format and click Save, the field is saved. I added a log statement to MacroFormRenderer.java to see what value is being generated, and it is in the format specified in ModelFormField.java, line 345, but somehow the HTML macros are transforming it to another format. This is bad, because that means the date will be displayed one way in HTML, and it will be rendered as "yyyy-MM-dd" in all other formats. > 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)