[FIX] web_calendar: use local format for week in title of calendar view.
Commit odoo/odoo@9be7a9535c changes the week number computation to match calendar and pivot views. Now, calendar don't use isoWeek format by default, but the weekNumber from locale(), So we need to adapt also the format for title. closes #12068, closes #9629
This commit is contained in:
@@ -42,7 +42,7 @@ function get_fc_defaultOptions() {
|
||||
weekNumbers: true,
|
||||
titleFormat: {
|
||||
month: 'MMMM yyyy',
|
||||
week: "W",
|
||||
week: "w",
|
||||
day: dateFormat,
|
||||
},
|
||||
columnFormat: {
|
||||
|
||||
Reference in New Issue
Block a user