Incorrect Data Format
--------------------- Key: OFBIZ-3544 URL: https://issues.apache.org/jira/browse/OFBIZ-3544 Project: OFBiz Issue Type: Bug Components: specialpurpose/ecommerce Affects Versions: Release Branch 9.04 Environment: IE Reporter: Koon Sang Fix For: Release Branch 9.04 After login to Ecommerce, go to Profile and update Personal Information. Enter a valid date for Birth Date and Passport Expire Date (format: yyyy-mm-dd). Click "Save". Once back to the main screen, click on "Update" again to update the Personal Information. You will see that the two dates are displayed in wrong date formats, e.g. "Aug 25, 1972". So, the date is formatted wrongly somewhere. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-3544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reassigned OFBIZ-3544: -------------------------------------- Assignee: Jacques Le Roux > Incorrect Data Format > --------------------- > > Key: OFBIZ-3544 > URL: https://issues.apache.org/jira/browse/OFBIZ-3544 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 09.04 > Environment: IE > Reporter: Koon Sang > Assignee: Jacques Le Roux > Fix For: Release Branch 09.04 > > > After login to Ecommerce, go to Profile and update Personal Information. Enter a valid date for Birth Date and Passport Expire Date (format: yyyy-mm-dd). Click "Save". Once back to the main screen, click on "Update" again to update the Personal Information. You will see that the two dates are displayed in wrong date formats, e.g. "Aug 25, 1972". So, the date is formatted wrongly somewhere. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ankit Jain updated OFBIZ-3544: ------------------------------ Attachment: date.patch Here is the patch which solves the issue, As i found that Date needs to be converted to string to override the default date format of freemarker as in ecommerce/customer/viewprofile.ftl More info: http://freemarker.sourceforge.net/docs/ref_builtins_date.html Thanks :) > Incorrect Data Format > --------------------- > > Key: OFBIZ-3544 > URL: https://issues.apache.org/jira/browse/OFBIZ-3544 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 09.04 > Environment: IE > Reporter: Koon Sang > Assignee: Jacques Le Roux > Fix For: Release Branch 09.04 > > Attachments: date.patch > > > After login to Ecommerce, go to Profile and update Personal Information. Enter a valid date for Birth Date and Passport Expire Date (format: yyyy-mm-dd). Click "Save". Once back to the main screen, click on "Update" again to update the Personal Information. You will see that the two dates are displayed in wrong date formats, e.g. "Aug 25, 1972". So, the date is formatted wrongly somewhere. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-3544. ---------------------------------- Resolution: Not A Problem I close as not a problem. It's ok to show in this easier to read format. Because you should not change your birth date once set, and not so often the passport date > Incorrect Data Format > --------------------- > > Key: OFBIZ-3544 > URL: https://issues.apache.org/jira/browse/OFBIZ-3544 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 09.04 > Environment: IE > Reporter: Koon Sang > Assignee: Jacques Le Roux > Fix For: Release Branch 09.04 > > Attachments: date.patch > > > After login to Ecommerce, go to Profile and update Personal Information. Enter a valid date for Birth Date and Passport Expire Date (format: yyyy-mm-dd). Click "Save". Once back to the main screen, click on "Update" again to update the Personal Information. You will see that the two dates are displayed in wrong date formats, e.g. "Aug 25, 1972". So, the date is formatted wrongly somewhere. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868214#action_12868214 ] Jacques Le Roux commented on OFBIZ-3544: ---------------------------------------- I finally committed Ankit's patch, when he convinced me that this is not working well when you are editing another field Committed in trunk at r945118 R9.04 at r945122 R10.04 at r945123 Thanks Ankit! > Incorrect Data Format > --------------------- > > Key: OFBIZ-3544 > URL: https://issues.apache.org/jira/browse/OFBIZ-3544 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 09.04 > Environment: IE > Reporter: Koon Sang > Assignee: Jacques Le Roux > Fix For: Release Branch 09.04 > > Attachments: date.patch > > > After login to Ecommerce, go to Profile and update Personal Information. Enter a valid date for Birth Date and Passport Expire Date (format: yyyy-mm-dd). Click "Save". Once back to the main screen, click on "Update" again to update the Personal Information. You will see that the two dates are displayed in wrong date formats, e.g. "Aug 25, 1972". So, the date is formatted wrongly somewhere. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868216#action_12868216 ] Ankit Jain commented on OFBIZ-3544: ----------------------------------- Thanks Jacques HTH :) > Incorrect Data Format > --------------------- > > Key: OFBIZ-3544 > URL: https://issues.apache.org/jira/browse/OFBIZ-3544 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 09.04 > Environment: IE > Reporter: Koon Sang > Assignee: Jacques Le Roux > Fix For: Release Branch 09.04 > > Attachments: date.patch > > > After login to Ecommerce, go to Profile and update Personal Information. Enter a valid date for Birth Date and Passport Expire Date (format: yyyy-mm-dd). Click "Save". Once back to the main screen, click on "Update" again to update the Personal Information. You will see that the two dates are displayed in wrong date formats, e.g. "Aug 25, 1972". So, the date is formatted wrongly somewhere. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |