You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2007/07/21 16:51:08 UTC

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

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

Adrian Crum commented on OFBIZ-1168:
------------------------------------

Daniel,

Thank you for the patch! Have you taken a look at OFBIZ-1164? I believe it would be best to wait on some of this until that issue makes its way into the project.

An improved popup calendar is something we sorely need. The one in this patch assumes a US locale - the same problem the current one has. Licensing may be an issue also. I recommend writing one from scratch that gets passed a properly constructed java.util.Calendar object - then use that object in the java script to handle Month/Day names, date/time formatting, etc. See the UtilDateTime.toCalendar method. Also take a look at how that method is used in the month.bsh script in OFBIZ-1089.

Localized date/time formats will not work in the components (like order manager) until they are updated to support it.

Don't be discouraged - I support the idea of configurable date/time data entry, but right now you are shooting at a moving target. Let's wait until OFBIZ-1164 gets committed, then we can see where to make the necessary changes.

In the meantime, an updated popup calendar would be a good thing to work on - if you are inclined to do so.





> 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.