diff options
| author | Denis Ledoux <dle@odoo.com> | 2014-12-24 11:30:58 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2014-12-24 11:37:55 +0100 |
| commit | 63723134948a55f6f91660673543e57405076675 (patch) | |
| tree | 685c54363f6654416fad98cf63d278e6fc5dd387 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | e607f03fd067aec0be5f5a0ce6ebeb25eb4e47d0 (diff) | |
[FIX] web: datetime value parsing without time
If the date format language was changed to invert month & day values (so, changed to the classic european format instead of the american format)
Then, when entering manually a datetime without the time (so just '01/02/2014' instead of '01/02/2014 00:00:00', the day and month were inverted (the datetime was set to 02/01/2014 instead of 01/02/2014) because the datetime entered did not exactly match the date + time pattern.
We therefore added a fallback case, to test to parse the value with the date pattern alone (without the time)
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
