Skip to content
Snippets Groups Projects
Commit 4b77d747 authored by Tom Lutzenberger's avatar Tom Lutzenberger
Browse files

#1058862: Fix für Timestamp values

parent 5695b668
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ for(let h = hourStart; h <= hourEnd; h++) { ...@@ -12,7 +12,7 @@ for(let h = hourStart; h <= hourEnd; h++) {
let timestamp = (new Date(1970, 0, 1, h, m)).getTime(); let timestamp = (new Date(1970, 0, 1, h, m)).getTime();
let displayTime = h.toString().padStart(2, '0') + ":" + m.toString().padStart(2, '0'); let displayTime = h.toString().padStart(2, '0') + ":" + m.toString().padStart(2, '0');
dropdown.push([timestamp, displayTime]); dropdown.push([timestamp.toString(), displayTime]);
} }
} }
......
...@@ -12,7 +12,7 @@ for(let h = hourStart; h <= hourEnd; h++) { ...@@ -12,7 +12,7 @@ for(let h = hourStart; h <= hourEnd; h++) {
let timestamp = (new Date(1970, 0, 1, h, m)).getTime(); let timestamp = (new Date(1970, 0, 1, h, m)).getTime();
let displayTime = h.toString().padStart(2, '0') + ":" + m.toString().padStart(2, '0'); let displayTime = h.toString().padStart(2, '0') + ":" + m.toString().padStart(2, '0');
dropdown.push([timestamp, displayTime]); dropdown.push([timestamp.toString(), displayTime]);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment