diff options
| author | Jason Van Malder <jvm@odoo.com> | 2020-01-22 07:45:46 +0000 |
|---|---|---|
| committer | Jason Van Malder <jvm@odoo.com> | 2020-01-24 12:48:48 +0000 |
| commit | 59a50e7628e3b02aea694b0b3cd36b2bddaae057 (patch) | |
| tree | 5968a1d4b38b6246e46173d859958a6bc4c9e9e1 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | c107e983caa4089058c75ab9f0d1652ddf31dfac (diff) | |
[FIX] survey: better datetime picker & fix date format issues
Issue
- Install Surveys & Website
- Create a survey with a datetime question
- Install Spanish lang & set it up on website as the only language
- Surveys > Your survey > Test
Traceback
Cause
There is a format mismatch because of field_utils.format.datetime
but it's needed for timezone offsets.
Solution
Format the field_utils.format.datetime result's into
the datetimepicker format.
I re-organized this part because it was a bit confusing and
it handles error now.
OPW-2167397
closes odoo/odoo#43912
X-original-commit: b368b1db4a998a2369185218fe19fb84874f77ab
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
