scheduler error

0 Answers 5 Views
Scheduler
bahaso
Top achievements
Rank 1
Iron
Iron
Iron
bahaso asked on 31 Aug 2021, 03:08 PM | edited on 31 Aug 2021, 05:25 PM

Hi

 

I have following error message when i tried to uise scheduler

 

[code]

03:00 PM ERROR [./src/app/core/interceptors/GlobalErrorHandlerService.ts:25] TypeError: date.getTimezoneOffset is not a function
    at offset (offset.js:17)
    at convertTimezoneUTC (zoned-date.js:35)
    at Function.fromLocalDate (zoned-date.js:140)
    at index.js:4604
    at Array.map (<anonymous>)
    at SchedulerComponent.processEvents (index.js:4603)
    at SchedulerComponent.set events [as events] (index.js:4175)
    at DataBindingDirective.set data [as data] (index.js:6402)
    at setInputsForProperty (core.js:10940)
    at elementPropertyInternal (core.js:9984)

 

My object interface


export interface VueEvenement  extends SchedulerEvent {
  estReadOnly: boolean;
  dossierId?: number | null;
  dossierNom: string;
  infosPatientRdv: InfosPatientRdv;
  estListeAttente: boolean;
  estListeAttenteSpecifique: boolean;
  estUrgent: boolean;
  collegueId: number;
  activiteId: number;
  tacheId?: number | null;
  bureauId: number;
  etatId: number;
  duree: number;
  remarque?: string | null;
  confirmation?: boolean | null;
  professionnelOccupationId: number;
  raisonAnnule?: string | null;
 }

 

My Java backend as date like

    @Type(type = "org.jadira.usertype.dateandtime.joda.PersistentDateTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime end;

 

[/code]

Perhaps is an date format problem

Could you help me ?

 

Regards

 

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
bahaso
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or