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:a91f4cfc-90e5-ce6e-b238-d17d622383b0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8444:12D3A6:8327E1:B49AA7:6A63AD24 |
| html-safe-nonce | 3df3ff1ea1758ce545e64b152ac261ebc9e8680491b8768ec11eed7576bbbd87 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDQ0OjEyRDNBNjo4MzI3RTE6QjQ5QUE3OjZBNjNBRDI0IiwidmlzaXRvcl9pZCI6IjIwMDc4NDI3MTM4MjQ4OTgzNDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7853f0571b3f37d14987ac3c3f3c5c655b26a1f82ab0fcd55515b2d1cf155197 |
| 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 | c69b5576237034cb6ab5477391df7811093a00579a751b33bed4b527d68aade6 |
| 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 | 5c31956f7a31ef033ef93ba813dcb6f7e8eb0972 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width