Skip to content

Commit

Permalink
Revert "fix(ar): render fullcalendar in english (#26207)"
Browse files Browse the repository at this point in the history
This reverts commit e4ed1b9.
  • Loading branch information
ankush committed Apr 29, 2024
1 parent a7b7af8 commit 602ff82
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions frappe/public/js/frappe/views/calendar/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 602ff82

Please sign in to comment.