calendar picker does not parse the selected date correctly
---------------------------------------------------------- Key: OFBIZ-2965 URL: https://issues.apache.org/jira/browse/OFBIZ-2965 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Release Branch 9.04, SVN trunk Reporter: Wickersheimer Jeremy Priority: Minor Fix For: Release Branch 9.04, SVN trunk The javascript calendar does not parse date with no times properly, the side effect is that the calendar will default to today's date. -- 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-2965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wickersheimer Jeremy updated OFBIZ-2965: ---------------------------------------- Attachment: calendar.patch This should apply to 09.04 and trunk > calendar picker does not parse the selected date correctly > ---------------------------------------------------------- > > Key: OFBIZ-2965 > URL: https://issues.apache.org/jira/browse/OFBIZ-2965 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release Branch 9.04, SVN trunk > Reporter: Wickersheimer Jeremy > Priority: Minor > Fix For: Release Branch 9.04, SVN trunk > > Attachments: calendar.patch > > > The javascript calendar does not parse date with no times properly, the side effect is that the calendar will default to today's date. -- 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-2965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758639#action_12758639 ] Jacques Le Roux commented on OFBIZ-2965: ---------------------------------------- Hi Jeremy, Did you email the Author - Tim Harper <"[hidden email]".gsub("see", "c")> ? Thanks > calendar picker does not parse the selected date correctly > ---------------------------------------------------------- > > Key: OFBIZ-2965 > URL: https://issues.apache.org/jira/browse/OFBIZ-2965 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release Branch 9.04, SVN trunk > Reporter: Wickersheimer Jeremy > Priority: Minor > Fix For: Release Branch 9.04, SVN trunk > > Attachments: calendar.patch > > > The javascript calendar does not parse date with no times properly, the side effect is that the calendar will default to today's date. -- 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-2965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758641#action_12758641 ] Jacques Le Roux commented on OFBIZ-2965: ---------------------------------------- I tried it but when I enter a date without time (for instance 2009-09-03) I still get now's date+time. What am I missing ? > calendar picker does not parse the selected date correctly > ---------------------------------------------------------- > > Key: OFBIZ-2965 > URL: https://issues.apache.org/jira/browse/OFBIZ-2965 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release Branch 9.04, SVN trunk > Reporter: Wickersheimer Jeremy > Priority: Minor > Fix For: Release Branch 9.04, SVN trunk > > Attachments: calendar.patch > > > The javascript calendar does not parse date with no times properly, the side effect is that the calendar will default to today's date. -- 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-2965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758648#action_12758648 ] Wickersheimer Jeremy commented on OFBIZ-2965: --------------------------------------------- Jacques, i think this file was modified by ofbiz, the file i get from upstream does not include all that's bellow the // OFBiz addition: modified format_iso_date.js, included here for convenience. Can you try debugging with firebug ? if you put a break at Date.parseFormattedString "return dt_date;" you should see the returned Date object (it was Undefined Date for me before). Also make sure you reload with Ctrl+F5 to avoid getting the js file from the browser cache. > calendar picker does not parse the selected date correctly > ---------------------------------------------------------- > > Key: OFBIZ-2965 > URL: https://issues.apache.org/jira/browse/OFBIZ-2965 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release Branch 9.04, SVN trunk > Reporter: Wickersheimer Jeremy > Priority: Minor > Fix For: Release Branch 9.04, SVN trunk > > Attachments: calendar.patch > > > The javascript calendar does not parse date with no times properly, the side effect is that the calendar will default to today's date. -- 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-2965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-2965. ---------------------------------- Resolution: Fixed Assignee: Jacques Le Roux Yes, it was a brower cache issue, I thought about OFBiz caches but forgot the browser, thanks Jeremy. I think the only change we did are after // OFBiz addition: functions to call the calendar. So maybe only referring to this issue would be helpful to Tim Harper Your patch is in trunk at r818049, R9.04 r 818065 > calendar picker does not parse the selected date correctly > ---------------------------------------------------------- > > Key: OFBIZ-2965 > URL: https://issues.apache.org/jira/browse/OFBIZ-2965 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release Branch 9.04, SVN trunk > Reporter: Wickersheimer Jeremy > Assignee: Jacques Le Roux > Priority: Minor > Fix For: Release Branch 9.04, SVN trunk > > Attachments: calendar.patch > > > The javascript calendar does not parse date with no times properly, the side effect is that the calendar will default to today's date. -- 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 |