Skip to content

Commit 4d6139d

Browse files
iberryfulib-steffen
authored andcommitted
fix date on dashboard (#223)
1 parent ee17e45 commit 4d6139d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/dashboard-client/src/store.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ function findJob (build, jobId) {
6363

6464
function toDate (s) {
6565
let a = s.split(/[^0-9]/)
66-
a[1] = a[1] - 1
6766
let dateStr = a[0] + '-' + a[1] + '-' + a[2] + ' ' + a[3] + ':' + a[4] + 'Z'
6867

6968
return new Date(dateStr)

0 commit comments

Comments
 (0)