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

480
Vistas
How to change time of a recurring Event time in fullcalendar 5

I'm using fullcalendar 5 and have some recurring weekly Events on a weekly calendar. The Events are initialized by the backend. I can change the times of those events via drag, resize, or with code, but when I go forward or back a week with the Prev/Next buttons, they revert to their prior time.

Is there a way to change a recurring event such that whatever is handling the repeat logic knows about it so that the new time is retained?

For changing with code, setStart() and setEnd() change the event on the page. But then prev/next does not retain the change. I start assign startTime and endTime values but that didn't help.

I got it to work by remove the event and adding a new one. Don't know if there's a more elegant solution.

let weekDay = '' + myEvent.start.getDay();
let startTime = myEvent.start.toTimeString().split(' ')[0];
let endTime =  myEvent.end.toTimeString().split(' ')[0];
let newEvent = { "start" : new Date(myEvent.start), 
  "end" : new Date(myEvent.end), 
  "startTime" : startTime, 
  "endTime" : endTime, 
  "daysOfWeek" : weekDay,
  "title" : "XYZZY", 
   "id" : "111",    
}; 
myEvent.remove();
this.addEvent(newEvent);

about 4 years ago · Juan Pablo Isaza
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