Remove console log
This commit is contained in:
parent
1af942294c
commit
a57f557f20
|
@ -41,11 +41,7 @@ export class VisitsComponent implements OnInit, OnDestroy {
|
|||
const fulltime = time.padStart(4, '0');
|
||||
const datetime = `${date.substring(0, 4)}-${date.substring(4, 6)}-${date.substring(6, 8)} ${fulltime.substring(0, 2)}:${fulltime.substring(2, 4)}:00`;
|
||||
|
||||
console.log(datetime);
|
||||
|
||||
const dateobj = new Date(datetime);
|
||||
console.log(dateobj);
|
||||
|
||||
if (dateobj) {
|
||||
this.courseDate = dateobj;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue