From: TGJG-XPS\TracyG Date: Mon, 6 Mar 2017 22:20:30 +0000 (+0000) Subject: Further correction X-Git-Tag: 2.18.0~12^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25f0dcec4801b55ebdc29b7ffc529b5212072767;p=thirdparty%2Fmoment.git Further correction --- diff --git a/src/lib/create/from-string.js b/src/lib/create/from-string.js index 68a689d97..7cae76d70 100644 --- a/src/lib/create/from-string.js +++ b/src/lib/create/from-string.js @@ -145,7 +145,6 @@ export function configFromRFC2822(config) { timezoneIndex = military.indexOf(match[5][1].toUpperCase()) - 12; timezone = ((timezoneIndex < 0) ? ' -' : ' +') + (('' + timezoneIndex).replace(/^-?/, '0')).match(/..$/)[0] + '00'; - timezone += '00'; } break; case 4: // Zone