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: patch-diff.githubusercontent.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:825feda2-8d82-72e9-ed38-d95445562272 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E842:258F3F:3148157:41DD347:696EF7A1 |
| html-safe-nonce | ec5b67f2a51ee604c417f16e51aa5ba5e032fe8c9cc4270254c2ff22db2fdd1a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODQyOjI1OEYzRjozMTQ4MTU3OjQxREQzNDc6Njk2RUY3QTEiLCJ2aXNpdG9yX2lkIjoiNTA1MDgzNTY0NDU4NDQwNjA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c9b64ed07aa86f8543921d805f2b0286d834b42ca22af3f8dc2fe5b92c9a0e0f |
| 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 | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| 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 | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width