TheAlgorithms / JavaScript

Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.

Home Page:https://the-algorithms.com/language/javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DateToDay.js giving wrong day

chrisjwaddell opened this issue · comments

DateToDay("1/1/2020") returns "Friday" but its "Wednesday". Other basic tests show the wrong day as well.

Please assign me to this issue. Thank you

I want to work on it please, Thank you.

I would like to solve this problem.
thanks

please assign it to me

I have also submitted a solution to current bug in #1134

Hi, this is my first time contributing to an open-source project. I wanted to know if we have to use the same algorithm to calculate the day or if we could use a different one. Please advise.

There are already several pull requests fixing this issue. I will advise people to not take this issue up any more.

Hii Sir, pls assign this issue to me.

Hii Sir, pls assign this issue to me.

We already have two working fixes for this issue.