From: TGJG-XPS\TracyG Date: Sat, 4 Feb 2017 13:22:28 +0000 (+0000) Subject: Style correction X-Git-Tag: 2.18.0~12^2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=915219ef214fd8495326b9aa8b5c3c4789c8475a;p=thirdparty%2Fmoment.git Style correction --- diff --git a/src/lib/create/from-string.js b/src/lib/create/from-string.js index 1da560ddf..e9a5e0f44 100644 --- a/src/lib/create/from-string.js +++ b/src/lib/create/from-string.js @@ -163,7 +163,6 @@ export function configFromRFC2822(config) { // TODO Confirm the given day-of-week is consistent with the day-of-month-year // NB: Needs an instance of moment, created from the date element of the input string. - /* */ if (match[1]) { // day of week given console.log('[' + match[1].substr(0,3) + ']', moment(match[2], dateFormat).format('ddd')); var momentDay = moment(match[2], dateFormat).format('ddd'); @@ -173,7 +172,6 @@ export function configFromRFC2822(config) { return; } } - /* */ getParsingFlags(config).rfc2822 = true;