Commit 8dd35a1a authored by Julien's avatar Julien
Browse files

try to fix

parent 7b90ad82
Pipeline #17295 failed with stages
in 1 minute and 41 seconds
import { Component, OnInit, HostListener } from '@angular/core';
import * as moment from 'moment';
import { Moment } from 'moment';
// import { Moment } from 'moment';
import { ICourse } from 'app/shared/model/course.model';
import { CourseService } from 'app/entities/course/course.service';
......@@ -38,7 +38,7 @@ export class SelectorListLateComponent implements OnInit {
this.courseService.queryLate().subscribe(courses => (this.courses = courses.body));
}
calcLate(expected: Moment) {
calcLate(expected: moment.Moment) {
const now = moment();
this.late = moment
.duration(now.diff(expected))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment