]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Further correction
authorTGJG-XPS\TracyG <tracyg.gilmore@gmail.com>
Mon, 6 Mar 2017 22:20:30 +0000 (22:20 +0000)
committerIskren Chernev <iskren.chernev@gmail.com>
Sun, 12 Mar 2017 00:11:46 +0000 (02:11 +0200)
src/lib/create/from-string.js

index 68a689d970c33a3bf664f606b3361467739b8cfe..7cae76d70ef57c64b683ac9a97876ab5b684b922 100644 (file)
@@ -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