Title: DateToDay.js giving wrong day · Issue #1121 · TheAlgorithms/JavaScript · GitHub
Open Graph Title: DateToDay.js giving wrong day · Issue #1121 · TheAlgorithms/JavaScript
X Title: DateToDay.js giving wrong day · Issue #1121 · TheAlgorithms/JavaScript
Description: DateToDay("1/1/2020") returns "Friday" but its "Wednesday". Other basic tests show the wrong day as well.
Open Graph Description: DateToDay("1/1/2020") returns "Friday" but its "Wednesday". Other basic tests show the wrong day as well.
X Description: DateToDay("1/1/2020") returns "Friday" but its "Wednesday". Other basic tests show the wrong day as well.
Opengraph URL: https://github.com/TheAlgorithms/JavaScript/issues/1121
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DateToDay.js giving wrong day","articleBody":"DateToDay(\"1/1/2020\") returns \"Friday\" but its \"Wednesday\". Other basic tests show the wrong day as well. ","author":{"url":"https://github.com/chrisjwaddell","@type":"Person","name":"chrisjwaddell"},"datePublished":"2022-10-05T04:36:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/1121/JavaScript/issues/1121"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a574973e-ba40-2ad5-7b0e-7f7704c049a0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE00:716A1:2E6A8DD:4022CB0:69701005 |
| html-safe-nonce | 28bed840072a0b3f5a2fc654d1c8c3d0551019b517adaab161890c8893fd9497 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTAwOjcxNkExOjJFNkE4REQ6NDAyMkNCMDo2OTcwMTAwNSIsInZpc2l0b3JfaWQiOiI4MTcyOTcwMDg5MTEyNDA4MDY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 34a02377f63ad88b7ca11e925e3ebfb351037b3f9ef7fa13be832797df215150 |
| hovercard-subject-tag | issue:1397209894 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TheAlgorithms/JavaScript/1121/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ccdf8911e68c1d62be64cae43a115bf42ececc3b58f3f9b36222ec659f8dae98/TheAlgorithms/JavaScript/issues/1121 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ccdf8911e68c1d62be64cae43a115bf42ececc3b58f3f9b36222ec659f8dae98/TheAlgorithms/JavaScript/issues/1121 |
| og:image:alt | DateToDay("1/1/2020") returns "Friday" but its "Wednesday". Other basic tests show the wrong day as well. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chrisjwaddell |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043a09521e81f00c45482046b3f38390b8b292cf9a86ad665a632633a072c05c |
| turbo-cache-control | no-preview |
| go-import | github.com/TheAlgorithms/JavaScript git https://github.com/TheAlgorithms/JavaScript.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 97086543 |
| octolytics-dimension-repository_nwo | TheAlgorithms/JavaScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 97086543 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/JavaScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 98881eadf8ae73000970c42161c094b0809b1330 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width