You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Daniel Martínez (JIRA)" <ji...@apache.org> on 2007/07/21 13:44:07 UTC

[jira] Updated: (OFBIZ-1168) Provide date/time locale support to ofbiz

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

Daniel Martínez updated OFBIZ-1168:
-----------------------------------

    Attachment: locale_date_format.patch

Resume:

- Adds a new option in general.properties to configure ofbiz to use locale date/time format or no (defaults to no)
- Adds two new utility methods in UtilDateTime.java to convert between a sortable format string to a localized one and to get the format used (for the javascript calendar)
- Modifies javascript calendar to support localized formats. For this a new javascript library file is used (MIT license) from Matt Kruse
- Modifies screenWidgetHtmlFormRenderer to support localized date formats

When locale.dateformat=N, ofbiz works with sortable date formats normally
When locale.dateformat=Y, ofbiz uses localized date/time formats, but it does not work:

- For java methods accesed directly from the controller (as they are not aware of the use of locale formats, i.e. order manager)
- For performFind service (see https://issues.apache.org/jira/browse/OFBIZ-221)

> Provide date/time locale support to ofbiz
> -----------------------------------------
>
>                 Key: OFBIZ-1168
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1168
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: SVN trunk
>            Reporter: Daniel Martínez
>            Priority: Minor
>         Attachments: locale_date_format.patch
>
>
> Provide locale date/time support for ofbiz. This includes:
> - Showing date/time data in locale format
> - Allowing the user to input date/time data in his locale format
> Locale format lists will be those provided by java standard API

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