Fix
This commit is contained in:
parent
4b87bf216c
commit
a1948252fd
@ -338,7 +338,11 @@ export class GroupDetailsComponent implements OnInit, OnDestroy {
|
|||||||
const temp = new Date(x['dateFrom']);
|
const temp = new Date(x['dateFrom']);
|
||||||
const tempstop = new Date(x['dateTo']);
|
const tempstop = new Date(x['dateTo']);
|
||||||
x['startDate'] = '';
|
x['startDate'] = '';
|
||||||
const hours = temp.getHours();
|
const hoursTemp = temp.getHours();
|
||||||
|
let hours = hoursTemp.toString();
|
||||||
|
if (hoursTemp < 10) {
|
||||||
|
hours = `0${hoursTemp}`;
|
||||||
|
}
|
||||||
const minutesTemp = temp.getMinutes();
|
const minutesTemp = temp.getMinutes();
|
||||||
let minutes = minutesTemp.toString();
|
let minutes = minutesTemp.toString();
|
||||||
if (minutesTemp < 10) {
|
if (minutesTemp < 10) {
|
||||||
|
Loading…
Reference in New Issue
Block a user