[jira] Created: (OFBIZ-3843) Localized date format for end user

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
29 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-3843) Localized date format for end user

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897598#action_12897598 ]

Jacques Le Roux commented on OFBIZ-3843:
----------------------------------------

Thanks for your help Nicolas!

> Localized date format for end user
> ----------------------------------
>
>                 Key: OFBIZ-3843
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3843
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Priority: Minor
>         Attachments: date-localized.patch, With the patch.jpg, Without patch (in trunk demo).jpg, Wrong From Date.jpg
>
>
> Many French end users don't want to use this date format : yyyy-mm-dd.
> To make a better user friendly OFBiz interface, I've added the possibility to configure in general.properties a localized date format. OFBiz use localized format (as dd/mm/yyyy) for all interactions with users but keep universal format for its framework. It's then possible to set date with unniversal or localized format.
> What's working :
>   * Dates in screen engine : display, date-find, date-time
>   * performFind
>   * Service call
> Know problem :
>   * I don't find how to configure js calendar to support this functionality
> It's possible that my solution isn't the best one to do that. But I'm open to all comment

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-3843) Localized date format for end user

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Nicolas Malin updated OFBIZ-3843:
---------------------------------

    Attachment: OFBIZ-3843.patch

Ok, I submit a new patch with follow improvment :
 * When a formfield implement a fieldInfo : for displayField with type dat/date-time/time , dateTimeField and dateFindField, force encodeOutput to false.
 * All conversion operate by UtilDateTime (select the converter)
 * User can seizure date without time or juste parial time :
 * * 12/10/2010 => 12/10/2010 00:00:00
 * * 12/10/2010 12 => 12/10/2010 12:00:00
 * * 12/10/2010 12:24 => 12/10/2010 12:24:00
 * For conversion, by default OFBiz use locale user but we can for a system format in general.properties

I don't found how do conversion for js calendard :(

> Localized date format for end user
> ----------------------------------
>
>                 Key: OFBIZ-3843
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3843
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Priority: Minor
>         Attachments: date-localized.patch, OFBIZ-3843.patch, With the patch.jpg, Without patch (in trunk demo).jpg, Wrong From Date.jpg
>
>
> Many French end users don't want to use this date format : yyyy-mm-dd.
> To make a better user friendly OFBiz interface, I've added the possibility to configure in general.properties a localized date format. OFBiz use localized format (as dd/mm/yyyy) for all interactions with users but keep universal format for its framework. It's then possible to set date with unniversal or localized format.
> What's working :
>   * Dates in screen engine : display, date-find, date-time
>   * performFind
>   * Service call
> Know problem :
>   * I don't find how to configure js calendar to support this functionality
> It's possible that my solution isn't the best one to do that. But I'm open to all comment

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-3843) Localized date format for end user

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897739#action_12897739 ]

Nicolas Malin commented on OFBIZ-3843:
--------------------------------------

I create an addon to manage patch evolution ->
http://addons.neogia.org/addons/date-localized/

Nicolas

> Localized date format for end user
> ----------------------------------
>
>                 Key: OFBIZ-3843
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3843
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Priority: Minor
>         Attachments: date-localized.patch, OFBIZ-3843.patch, With the patch.jpg, Without patch (in trunk demo).jpg, Wrong From Date.jpg
>
>
> Many French end users don't want to use this date format : yyyy-mm-dd.
> To make a better user friendly OFBiz interface, I've added the possibility to configure in general.properties a localized date format. OFBiz use localized format (as dd/mm/yyyy) for all interactions with users but keep universal format for its framework. It's then possible to set date with unniversal or localized format.
> What's working :
>   * Dates in screen engine : display, date-find, date-time
>   * performFind
>   * Service call
> Know problem :
>   * I don't find how to configure js calendar to support this functionality
> It's possible that my solution isn't the best one to do that. But I'm open to all comment

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-3843) Localized date format for end user

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Nicolas Malin updated OFBIZ-3843:
---------------------------------

    Attachment: OFBIZ-3843-addonv0.2.patch

With localization, time dropdown was breaked. I submit a new patch with the correction ;)

> Localized date format for end user
> ----------------------------------
>
>                 Key: OFBIZ-3843
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3843
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Priority: Minor
>         Attachments: date-localized.patch, OFBIZ-3843-addonv0.2.patch, OFBIZ-3843.patch, With the patch.jpg, Without patch (in trunk demo).jpg, Wrong From Date.jpg
>
>
> Many French end users don't want to use this date format : yyyy-mm-dd.
> To make a better user friendly OFBiz interface, I've added the possibility to configure in general.properties a localized date format. OFBiz use localized format (as dd/mm/yyyy) for all interactions with users but keep universal format for its framework. It's then possible to set date with unniversal or localized format.
> What's working :
>   * Dates in screen engine : display, date-find, date-time
>   * performFind
>   * Service call
> Know problem :
>   * I don't find how to configure js calendar to support this functionality
> It's possible that my solution isn't the best one to do that. But I'm open to all comment

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-3843) Localized date format for end user

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Nicolas Malin updated OFBIZ-3843:
---------------------------------

    Attachment:     (was: OFBIZ-3843-addonv0.2.patch)

> Localized date format for end user
> ----------------------------------
>
>                 Key: OFBIZ-3843
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3843
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Priority: Minor
>         Attachments: date-localized.patch, OFBIZ-3843-addonv0.2.patch, OFBIZ-3843.patch, With the patch.jpg, Without patch (in trunk demo).jpg, Wrong From Date.jpg
>
>
> Many French end users don't want to use this date format : yyyy-mm-dd.
> To make a better user friendly OFBiz interface, I've added the possibility to configure in general.properties a localized date format. OFBiz use localized format (as dd/mm/yyyy) for all interactions with users but keep universal format for its framework. It's then possible to set date with unniversal or localized format.
> What's working :
>   * Dates in screen engine : display, date-find, date-time
>   * performFind
>   * Service call
> Know problem :
>   * I don't find how to configure js calendar to support this functionality
> It's possible that my solution isn't the best one to do that. But I'm open to all comment

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-3843) Localized date format for end user

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Nicolas Malin updated OFBIZ-3843:
---------------------------------

    Attachment: OFBIZ-3843-addonv0.2.patch

> Localized date format for end user
> ----------------------------------
>
>                 Key: OFBIZ-3843
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3843
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Priority: Minor
>         Attachments: date-localized.patch, OFBIZ-3843-addonv0.2.patch, OFBIZ-3843.patch, With the patch.jpg, Without patch (in trunk demo).jpg, Wrong From Date.jpg
>
>
> Many French end users don't want to use this date format : yyyy-mm-dd.
> To make a better user friendly OFBiz interface, I've added the possibility to configure in general.properties a localized date format. OFBiz use localized format (as dd/mm/yyyy) for all interactions with users but keep universal format for its framework. It's then possible to set date with unniversal or localized format.
> What's working :
>   * Dates in screen engine : display, date-find, date-time
>   * performFind
>   * Service call
> Know problem :
>   * I don't find how to configure js calendar to support this functionality
> It's possible that my solution isn't the best one to do that. But I'm open to all comment

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-3843) Localized date format for end user

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Nicolas Malin updated OFBIZ-3843:
---------------------------------

    Attachment: OFBIZ-3843.patch

I resynchronise addon with Jira

The news :
 * Update time-dropdown (pass to 5 minutes)
 * Manage date without hours, minutes or second

We find a problem when locale is used, for all entity with primaryKey date (fromDate) the parser lose milisecond then it's not possible to update/remove the entity. To correct this problem we force format date by general.properties. A possible solution will manage hidden date as timestamp format but not implement yet

Nicolas

> Localized date format for end user
> ----------------------------------
>
>                 Key: OFBIZ-3843
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3843
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Priority: Minor
>         Attachments: date-localized.patch, OFBIZ-3843-addonv0.2.patch, OFBIZ-3843.patch, OFBIZ-3843.patch, With the patch.jpg, Without patch (in trunk demo).jpg, Wrong From Date.jpg
>
>
> Many French end users don't want to use this date format : yyyy-mm-dd.
> To make a better user friendly OFBiz interface, I've added the possibility to configure in general.properties a localized date format. OFBiz use localized format (as dd/mm/yyyy) for all interactions with users but keep universal format for its framework. It's then possible to set date with unniversal or localized format.
> What's working :
>   * Dates in screen engine : display, date-find, date-time
>   * performFind
>   * Service call
> Know problem :
>   * I don't find how to configure js calendar to support this functionality
> It's possible that my solution isn't the best one to do that. But I'm open to all comment

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-3843) Localized date format for end user

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Nicolas Malin updated OFBIZ-3843:
---------------------------------

    Attachment:     (was: OFBIZ-3843-addonv0.2.patch)

> Localized date format for end user
> ----------------------------------
>
>                 Key: OFBIZ-3843
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3843
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Priority: Minor
>         Attachments: OFBIZ-3843.patch, OFBIZ-3843.patch, With the patch.jpg, Without patch (in trunk demo).jpg, Wrong From Date.jpg
>
>
> Many French end users don't want to use this date format : yyyy-mm-dd.
> To make a better user friendly OFBiz interface, I've added the possibility to configure in general.properties a localized date format. OFBiz use localized format (as dd/mm/yyyy) for all interactions with users but keep universal format for its framework. It's then possible to set date with unniversal or localized format.
> What's working :
>   * Dates in screen engine : display, date-find, date-time
>   * performFind
>   * Service call
> Know problem :
>   * I don't find how to configure js calendar to support this functionality
> It's possible that my solution isn't the best one to do that. But I'm open to all comment

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-3843) Localized date format for end user

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Nicolas Malin updated OFBIZ-3843:
---------------------------------

    Attachment:     (was: date-localized.patch)

> Localized date format for end user
> ----------------------------------
>
>                 Key: OFBIZ-3843
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3843
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Priority: Minor
>         Attachments: OFBIZ-3843.patch, OFBIZ-3843.patch, With the patch.jpg, Without patch (in trunk demo).jpg, Wrong From Date.jpg
>
>
> Many French end users don't want to use this date format : yyyy-mm-dd.
> To make a better user friendly OFBiz interface, I've added the possibility to configure in general.properties a localized date format. OFBiz use localized format (as dd/mm/yyyy) for all interactions with users but keep universal format for its framework. It's then possible to set date with unniversal or localized format.
> What's working :
>   * Dates in screen engine : display, date-find, date-time
>   * performFind
>   * Service call
> Know problem :
>   * I don't find how to configure js calendar to support this functionality
> It's possible that my solution isn't the best one to do that. But I'm open to all comment

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

12