Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

330
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda