Amine Safi
Results
2
comments of
Amine Safi
I think that the returned date is a **moment object**, try this `date.toDate().getTime()`
This issue can be solved simply by injecting into the constructor private cdRef: ChangeDetectorRef And in the **ngAfterViewInit** cycle hook just call the method detectChanges() ngAfterViewInit(): void { this.cdRef.detectChanges(); }