Skip to content

Commit 694fc3e

Browse files
committed
Fixing code style to make brianc#238 pass jshint
1 parent bde8717 commit 694fc3e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/utils.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ function dateToString(date) {
6767
}
6868

6969
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);
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);
7777

7878
if(offset < 0) {
7979
ret += "-";

0 commit comments

Comments
 (0)