René's URL Explorer Experiment


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

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:61f99e66-e250-131b-2033-46651b73f8cc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA382:217C4D:1F61D7E:2A478D8:696EC43B
html-safe-noncee1e2279d9f6bc44c855e84881e02c3fca5f8640655deccb46cb06eb0d5deefc9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzgyOjIxN0M0RDoxRjYxRDdFOjJBNDc4RDg6Njk2RUM0M0IiLCJ2aXNpdG9yX2lkIjoiNzA4MDI4NTA3NTYzMDExMzg1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf2a80fc16fe481e55c0bfc77281cfa9343bfd3caa0bc230968977f4faf6aba55
hovercard-subject-tagpull_request:1079089904
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/TheAlgorithms/JavaScript/pull/1134/files
twitter:imagehttps://avatars.githubusercontent.com/u/1694600?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1694600?s=400&v=4
og:image:altFixes #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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/TheAlgorithms/JavaScript git https://github.com/TheAlgorithms/JavaScript.git
octolytics-dimension-user_id20487725
octolytics-dimension-user_loginTheAlgorithms
octolytics-dimension-repository_id97086543
octolytics-dimension-repository_nwoTheAlgorithms/JavaScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id97086543
octolytics-dimension-repository_network_root_nwoTheAlgorithms/JavaScript
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release39aed5006635ab6f45e6b77d23e73b08a00272a3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJavaScript%2Fpull%2F1134%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJavaScript%2Fpull%2F1134%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=TheAlgorithms%2FJavaScript
Reloadhttps://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files
Reloadhttps://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files
Reloadhttps://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files
TheAlgorithms https://patch-diff.githubusercontent.com/TheAlgorithms
JavaScripthttps://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript
Please reload this pagehttps://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FTheAlgorithms%2FJavaScript
Fork 5.8k https://patch-diff.githubusercontent.com/login?return_to=%2FTheAlgorithms%2FJavaScript
Star 34k https://patch-diff.githubusercontent.com/login?return_to=%2FTheAlgorithms%2FJavaScript
Code https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript
Issues 21 https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/issues
Pull requests 167 https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pulls
Actions https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/actions
Projects 0 https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/projects
Wiki https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/security
Please reload this pagehttps://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files
Insights https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pulse
Code https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript
Issues https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/issues
Pull requests https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pulls
Actions https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/actions
Projects https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/projects
Wiki https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/wiki
Security https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/security
Insights https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FTheAlgorithms%2FJavaScript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FTheAlgorithms%2FJavaScript%2Fissues%2Fnew%2Fchoose
chrisgalvanhttps://patch-diff.githubusercontent.com/chrisgalvan
TheAlgorithms:masterhttps://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/tree/master
chrisgalvan:masterhttps://patch-diff.githubusercontent.com/chrisgalvan/JavaScript/tree/master
Conversation 2 https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134
Commits 1 https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/commits
Checks 0 https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/checks
Files changed https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files
Please reload this pagehttps://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files
correct implementation for Date to Day function https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files
52e88cf correct implementation for Date to Day function Oct 6, 2022 https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/commits/52e88cf755a87acc9d5bd025c294bf3f38d46706
Clear filters https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files
Please reload this pagehttps://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files
Please reload this pagehttps://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files
DateToDay.js https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files#diff-8d02e9659872fef5d720926e1279af638e48df4c10af0bbfb510acd3793d141a
DateToDay.test.js https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files#diff-ec91c57048e2ba442ef8159672e628b15c8256752c567876668aacd7136431c3
https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/blob/master/.github/CODEOWNERS#L1
Conversions/DateToDay.jshttps://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files#diff-8d02e9659872fef5d720926e1279af638e48df4c10af0bbfb510acd3793d141a
View file https://patch-diff.githubusercontent.com/chrisgalvan/JavaScript/blob/52e88cf755a87acc9d5bd025c294bf3f38d46706/Conversions/DateToDay.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files#diff-8d02e9659872fef5d720926e1279af638e48df4c10af0bbfb510acd3793d141a
https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files#diff-8d02e9659872fef5d720926e1279af638e48df4c10af0bbfb510acd3793d141a
https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/blob/master/.github/CODEOWNERS#L1
Conversions/test/DateToDay.test.jshttps://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files#diff-ec91c57048e2ba442ef8159672e628b15c8256752c567876668aacd7136431c3
View file https://patch-diff.githubusercontent.com/chrisgalvan/JavaScript/blob/52e88cf755a87acc9d5bd025c294bf3f38d46706/Conversions/test/DateToDay.test.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/TheAlgorithms/JavaScript/pull/1134/files#diff-ec91c57048e2ba442ef8159672e628b15c8256752c567876668aacd7136431c3
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.