Merge lp:~openerp-dev/openerp-web/7.0-opw-579979-port-pan into lp:openerp-web/7.0
Status: | Rejected |
---|---|
Rejected by: | Christophe Matthieu (OpenERP) |
Proposed branch: | lp:~openerp-dev/openerp-web/7.0-opw-579979-port-pan |
Merge into: | lp:openerp-web/7.0 |
Diff against target: |
39 lines (+6/-6) 1 file modified
addons/web/static/lib/datejs/parser.js (+6/-6) |
To merge this branch: | bzr merge lp:~openerp-dev/openerp-web/7.0-opw-579979-port-pan |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christophe Matthieu (OpenERP) (community) | Disapprove | ||
Review via email: mp+144254@code.launchpad.net |
Description of the change
Hello,
Fixed the issue of date/datetime not parsed by parseExact if someone missed to enter trailing 0, like format is %dd/%mm/%yy and if he enters date 4/10/12 then parseExact will fail, and on fialing we have called parse method which parse the date/datetime in mm/dd/yy format, so due to this month and date is interchanged.
attached video for reproduce:-https:/
Unmerged revisions
- 3709. By Anand
-
[FIX][7.0]Fixed the issue of date/datetime not parsed by parseExact if someone missed to enter trailing 0, like format is %dd/%mm/%yy and if he enters date 4/10/12 then parseExact will fail, and on fialing we have called parse method which parse the date/datetime in mm/dd/yy format, so due to this month and date is interchanged.
Hi,
Don't modify the libs please.
Thanks.