Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

328
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda