Revert "fix(ar): render fullcalendar in english (#26207)"
This reverts commit e4ed1b98e4.
This commit is contained in:
parent
a7b7af8311
commit
602ff8273f
1 changed files with 1 additions and 6 deletions
|
|
@ -250,13 +250,8 @@ frappe.views.Calendar = class Calendar {
|
|||
setup_options(defaults) {
|
||||
var me = this;
|
||||
defaults.meridiem = "false";
|
||||
let lang = frappe.boot.lang;
|
||||
if (lang == "ar") {
|
||||
// arabic doesn't work with fullcalendar - doesn't show anything.
|
||||
lang = "en";
|
||||
}
|
||||
this.cal_options = {
|
||||
locale: lang,
|
||||
locale: frappe.boot.lang,
|
||||
header: {
|
||||
left: "prev, title, next",
|
||||
right: "today, month, agendaWeek, agendaDay",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue