mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 698648 - use getDate() in logging, instead of getDay(), a=testonly, DONTBUILD, CLOSED TREE
This commit is contained in:
parent
03290d8def
commit
b203be3673
@ -126,7 +126,7 @@ var Logger =
|
||||
var now = new Date()
|
||||
this.write(now.getFullYear() + "-" + (now.getMonth() < 9 ? '0' : '') +
|
||||
(now.getMonth() + 1) + "-" +
|
||||
(now.getDay() < 9 ? '0' : '') + (now.getDay() + 1) + " " +
|
||||
(now.getDate() < 9 ? '0' : '') + (now.getDate() + 1) + " " +
|
||||
(now.getHours() < 10 ? '0' : '') + now.getHours() + ":" +
|
||||
(now.getMinutes() < 10 ? '0' : '') + now.getMinutes() + ":" +
|
||||
(now.getSeconds() < 10 ? '0' : '') + now.getSeconds() + " " +
|
||||
|
Loading…
Reference in New Issue
Block a user