diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2018-04-12 14:44:00 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2018-04-13 09:33:24 +0200 |
| commit | 7a1db7e62033ca0236d829ae3e60303875c85ce1 (patch) | |
| tree | 59afeff846fe4ef63d32cdb438ea505a54e755e1 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 3ac4b1ab51da85cf1e6b0300aa8799eb82235fbe (diff) | |
[FIX] web: wrong day column title in arabic
In arabic, with the version localization of bootstrap we use the week
starts on saturday. But the version of bootstrap-datetimepicker we use
in 10.0 and saas-14 is 3.0.3 which only fully supports week starting
on sunday and monday.
Thus in arabic, the column title in the date picker would be:
Sunday <- Monday (ﻥ, ﺙ, ﺭ, ﺥ, ﺝ, ﺱ, ﺡ)
Instead of what the numbered days in the calendar are shown as:
Friday <- Saturday (ﺱ, ﺡ, ﻥ, ﺙ, ﺭ, ﺥ, ﺝ)
This issue doesn't happen in saas-15, 11.0 and over since the library
has been updated with ad6fd5f8 and the as of version 4 supports any
starting day of week, with this change:
https://github.com/Eonasdan/bootstrap-datetimepicker/commit/557b657
opw-1825640
closes #24200
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
