We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bde8717 commit 694fc3eCopy full SHA for 694fc3e
lib/utils.js
@@ -67,13 +67,13 @@ function dateToString(date) {
67
}
68
69
var offset = -date.getTimezoneOffset();
70
- var ret = pad(date.getFullYear(), 4) + '-'
71
- + pad(date.getMonth() + 1, 2) + '-'
72
- + pad(date.getDate(), 2) + 'T'
73
- + pad(date.getHours(), 2) + ':'
74
- + pad(date.getMinutes(), 2) + ':'
75
- + pad(date.getSeconds(), 2) + '.'
76
- + pad(date.getMilliseconds(), 3);
+ var ret = pad(date.getFullYear(), 4) + '-' +
+ pad(date.getMonth() + 1, 2) + '-' +
+ pad(date.getDate(), 2) + 'T' +
+ pad(date.getHours(), 2) + ':' +
+ pad(date.getMinutes(), 2) + ':' +
+ pad(date.getSeconds(), 2) + '.' +
+ pad(date.getMilliseconds(), 3);
77
78
if(offset < 0) {
79
ret += "-";
0 commit comments