]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Style correction
authorTGJG-XPS\TracyG <tracyg.gilmore@gmail.com>
Sat, 4 Feb 2017 13:22:28 +0000 (13:22 +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 1da560ddf413a48a9e4e2820128ed072a17401a9..e9a5e0f44a85b40b79fe6fa4c809a829752a08ba 100644 (file)
@@ -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;