From 4090402e2b837098f0f93fd11907ac4a6e24705b Mon Sep 17 00:00:00 2001 From: B~Vladi Date: Sat, 10 May 2014 23:49:17 +0400 Subject: [PATCH] Optimize for V8 --- strftime.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/strftime.js b/strftime.js index c3689ed..9bbd55c 100644 --- a/strftime.js +++ b/strftime.js @@ -82,7 +82,7 @@ _date = dateToUTC(_date); } - /*if (_timeZone) { + if (_timeZone) { // ISO 8601 format timezone string, [-+]HHMM // Convert to the number of minutes and it'll be applied to the date below. if (tzType === 'string') { @@ -94,7 +94,7 @@ } _date = new Date(_date.getTime() + (_timeZone * 60000)); - }*/ + } // Most of the specifiers supported by C's strftime, and some from Ruby. // Some other syntax extensions from Ruby are supported: %-, %_, and %0