You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2007/07/02 10:12:04 UTC

[jira] Closed: (OFBIZ-613) Order Date i18n problem

     [ https://issues.apache.org/jira/browse/OFBIZ-613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-613.
---------------------------------

       Resolution: Fixed
    Fix Version/s: Release Branch 4.0
                   SVN trunk

Thanks Guido,

Your fix is in trunk revision: 552424 and release 552426


> Order Date i18n problem
> -----------------------
>
>                 Key: OFBIZ-613
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-613
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Guido Amarilla
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk, Release Branch 4.0
>
>
> The month name is always formatted in english in the date field of an Order PDF.
> Testing with the locale set to Spanish instead of "Enero 10, 2007" or "10 de Enero de 2007" it is formatted "January 10, 2007".
> in orderReportHeaderInfo.fo.ftl : line 24
> <#assign dateFormat = Static["java.text.DateFormat"].LONG>
>                       <#assign orderDate = Static["java.text.DateFormat"].getDateInstance(dateFormat).format( orderHeader.get ("orderDate"))>
> This is always formatted in english
> A solution would be to to format it according to the current selected locale. (I donĀ“t know how to get an instance of it in a ftl file to be used with java.text.DateFormat)
> Or if it is not possible, at least to use the same format that is used in every web screen: YYYY-MM-DD

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.