From 4bbd108a396c6c8abab1651bece1407438dbb9c3 Mon Sep 17 00:00:00 2001 From: Ioannis Cherouvim <743305+cherouvim@users.noreply.github.com> Date: Wed, 31 Oct 2018 05:16:09 +0200 Subject: [PATCH] [misc] minor typo in comments (#4817) * minor typo in comments * only update file in src/ * only update file in src/ --- src/lib/create/from-array.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.47.2