Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace the vanilla JS Date object with an indepentent day-of-week check. #7

Open
todo bot opened this issue Feb 10, 2019 · 0 comments
Open

Replace the vanilla JS Date object with an indepentent day-of-week check. #7

todo bot opened this issue Feb 10, 2019 · 0 comments
Assignees

Comments

@todo
Copy link

todo bot commented Feb 10, 2019

// TODO: Replace the vanilla JS Date object with an indepentent day-of-week check.
var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),
weekdayActual = new Date(parsedInput[0], parsedInput[1], parsedInput[2]).getDay();
if (weekdayProvided !== weekdayActual) {
getParsingFlags(config).weekdayMismatch = true;
config._isValid = false;


This issue was generated by todo based on a TODO comment in 69e132c. It's been assigned to @aawadall because they committed the code.
@todo todo bot assigned aawadall Feb 10, 2019
@todo todo bot added the todo 🗒️ label Feb 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant