From: Ioannis Cherouvim <743305+cherouvim@users.noreply.github.com> Date: Wed, 31 Oct 2018 03:16:09 +0000 (+0200) Subject: [misc] minor typo in comments (#4817) X-Git-Tag: 2.23.0~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bbd108a396c6c8abab1651bece1407438dbb9c3;p=thirdparty%2Fmoment.git [misc] minor typo in comments (#4817) * minor typo in comments * only update file in src/ * only update file in src/ --- diff --git a/src/lib/create/from-array.js b/src/lib/create/from-array.js index b5a0911de..548992f73 100644 --- a/src/lib/create/from-array.js +++ b/src/lib/create/from-array.js @@ -125,13 +125,13 @@ function dayOfYearFromWeekInfo(config) { weekdayOverflow = true; } } else if (w.e != null) { - // local weekday -- counting starts from begining of week + // local weekday -- counting starts from beginning of week weekday = w.e + dow; if (w.e < 0 || w.e > 6) { weekdayOverflow = true; } } else { - // default to begining of week + // default to beginning of week weekday = dow; } }