Skip to content
Snippets Groups Projects
Commit 7cc502a6 authored by fja-odoo's avatar fja-odoo
Browse files

[FIX] web: fix chineese calendar format


Issue:
The way we generate the dayNamesMin is not compatible with the chineese
translation provided by "moment.js".
This is because the dayNamesShort contains an extra character in front
週 (week). Because of that the names of the days on the
small calendar are all the character 週 (week).

Solution:
There is a variable (weekdaysMin) which is unused and contain a shorter
version of the days this variable is consitent in the other languages so
it should have no side effect and will fix the chinese translation as it
only contains one character.

Introduced by: 1fc33a63

task-2692910

closes odoo/odoo#80363

Signed-off-by: default avatarSamuel Degueldre <sad@odoo.com>
parent 64c5248a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment