-
Notifications
You must be signed in to change notification settings - Fork 768
Open
Labels
Description
Describe the bug
I think there's a mistake in your recent commit e434a47 in regexParser.js
const extractPartialIsoIntervalEndDate = simpleParse(
"month",
"day",
"weekNumber",
"weekDay", // This is wrong
"ordinal"
);Across the whole lib, it's weekday not weekDay. Not sure this causes problems, but if you were using typings, you would get an error there.
EDIT
Just found another one above
const extractISOWeekData = simpleParse("weekYear", "weekNumber", "weekDay");I assume the object gets normalized afterwards. But for consistency, it should be weekday also here.