From 694fc3eb6efb734ba5bd916ff64f308c82ed2616 Mon Sep 17 00:00:00 2001 From: Candid Dauth Date: Thu, 11 Apr 2013 00:41:15 +0200 Subject: [PATCH] Fixing code style to make #238 pass jshint --- lib/utils.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/utils.js b/lib/utils.js index 9dc54538..267f3972 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -67,13 +67,13 @@ function dateToString(date) { } var offset = -date.getTimezoneOffset(); - 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); + 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); if(offset < 0) { ret += "-";