diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-01-24 04:12:39 -0800 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-01-24 14:11:55 +0100 |
| commit | 34bfadb2f2f2f57f4f72515fbc610a521e8f4619 (patch) | |
| tree | 7252575797c38344512c421e2b14ae6bae6aed3f /addons/web/static/src/js/widgets/debug_manager.js | |
| parent | c0fa5228d8e1647413c2901728b4c05971185079 (diff) | |
[FIX] web: suggested date
- Set the OS to a GMT- timezone (e.g. 'America/Los Angeles')
- Set the format of the date to '%d/%m/%Y'
- Go to 'Account > Adviser > Journal Entries'
- Type '02-01-2018'
The suggested date is 31/01/2018.
Setting the moment object as UTC will lead to a conversion of the date
to the OS timezone when calling `toDate`, e.g.:
Mon Jan 31 2018 16:00:00 GMT-0800 (PST)
UTC should only be used in case of datetime, not date.
opw-803466
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
0 files changed, 0 insertions, 0 deletions
