Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

333
Views
How to change number of days language in Fullcalendar

anyone help me how to change the custom number of days in hebrew language Fullcalendar see image here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

FullCalendar has a dayCellDidMount option in Day-Cell Render Hooks, which is triggered after the day cell is mounted. https://fullcalendar.io/docs/day-cell-render-hooks

You can replace the day text with any custom text using this option.

var calendar = new FullCalendar.Calendar(calendarEl, {
    ...
    dayCellDidMount: function (info) {
        var day = moment(info.date).locale('hu').format('DD'); // Get the localized date; hu is for hebrew here. You can use like 'en', 'de'
        // Hide the original element
        var originElement = info.el.querySelectorAll(".fc-daygrid-day-number");
        originElement.forEach(e => e.classList.add("d-none"));
        //Insert custom or localized text 
        var targetElement = info.el.querySelectorAll(".fc-daygrid-day-top");
        targetElement.forEach(e => e.innerHTML = day);
    }

});
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!