Title: correct implementation for Date to Day function by chrisgalvan · Pull Request #1134 · TheAlgorithms/JavaScript · GitHub
Open Graph Title: correct implementation for Date to Day function by chrisgalvan · Pull Request #1134 · TheAlgorithms/JavaScript
X Title: correct implementation for Date to Day function by chrisgalvan · Pull Request #1134 · TheAlgorithms/JavaScript
Description: Fixes #1121 Implement correct modulus operator in javascript Adjusted the year if month is Jan or Feb, since we are considering March as the starting month (based on the algorith) know more Describe your change: Add an algorithm? Fix a bug or typo in an existing algorithm? Documentation change? Checklist: I have read CONTRIBUTING.md. This pull request is all my own work -- I have not plagiarized. I know that pull requests will not be merged if they fail the automated tests. This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms. All new JavaScript files are placed inside an existing directory. All filenames should use the UpperCamelCase (PascalCase) style. There should be no spaces in filenames. Example:UserProfile.js is allowed but userprofile.js,Userprofile.js,user-Profile.js,userProfile.js are not All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation. If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.
Open Graph Description: Fixes #1121 Implement correct modulus operator in javascript Adjusted the year if month is Jan or Feb, since we are considering March as the starting month (based on the algorith) know more Descri...
X Description: Fixes #1121 Implement correct modulus operator in javascript Adjusted the year if month is Jan or Feb, since we are considering March as the starting month (based on the algorith) know more Descri...
Opengraph URL: https://github.com/TheAlgorithms/JavaScript/pull/1134
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:61f99e66-e250-131b-2033-46651b73f8cc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A382:217C4D:1F61D7E:2A478D8:696EC43B |
| html-safe-nonce | e1e2279d9f6bc44c855e84881e02c3fca5f8640655deccb46cb06eb0d5deefc9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzgyOjIxN0M0RDoxRjYxRDdFOjJBNDc4RDg6Njk2RUM0M0IiLCJ2aXNpdG9yX2lkIjoiNzA4MDI4NTA3NTYzMDExMzg1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f2a80fc16fe481e55c0bfc77281cfa9343bfd3caa0bc230968977f4faf6aba55 |
| hovercard-subject-tag | pull_request:1079089904 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/TheAlgorithms/JavaScript/pull/1134/files |
| twitter:image | https://avatars.githubusercontent.com/u/1694600?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1694600?s=400&v=4 |
| og:image:alt | Fixes #1121 Implement correct modulus operator in javascript Adjusted the year if month is Jan or Feb, since we are considering March as the starting month (based on the algorith) know more Descri... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width