[
https://issues.apache.org/jira/browse/OFBIZ-5608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15007123#comment-15007123 ]
Adrian Crum commented on OFBIZ-5608:
------------------------------------
Please review this code:
MacroFormRenderer.java, line 549
MacroFormRenderer.java, line 561
ModelFormField.java, line 345
Then look at the UI label being used in MacroFormRenderer.java, line 561:
{code}
<property key="CommonFormatDate">
<value xml:lang="ar">النمط: ي ي-ش ش-ع ع ع ع</value>
<value xml:lang="cs">Formát datumu: RRRR-MM-dd</value>
<value xml:lang="de">Datumsformat: yyyy-MM-dd</value>
<value xml:lang="en">Format: yyyy-MM-dd</value>
<value xml:lang="en-GB">Format: dd/MM/yyyy</value>
<value xml:lang="es">Formato: dd/mm/aaaa</value>
<value xml:lang="fr">Format: JJ/MM/AAAA</value>
<value xml:lang="hi-IN">प्रारूप: yyyy-MM-dd</value>
<value xml:lang="it">Formato: AAAA-MM-gg</value>
<value xml:lang="ja">書式: yyyy-MM-dd</value>
<value xml:lang="pt">Format: yyyy-MM-dd</value>
<value xml:lang="pt-BR">Formato: AAAA-MM-dd</value>
<value xml:lang="ru">Формат: гггг-ММ-дд</value>
<value xml:lang="th">รูปแบบ : yyyy-MM-dd</value>
<value xml:lang="vi">Định dạng ngày tháng: yyyy-MM-dd</value>
<value xml:lang="zh">格式: yyyy-MM-dd</value>
<value xml:lang="zh-TW">格式: yyyy-MM-dd</value>
</property>
{code}
If my locale is en-GB, the screen tells me to enter a date in the format "dd/MM/yyyy", but ModelFormField.java, line 345 is rendering it as "yyyy-MM-dd".
> 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: 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)