Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor: useisLeapYear#1638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
raklaptudirm merged 1 commit intoTheAlgorithms:masterfromvil02:use_isLeapYear
Mar 7, 2024

Conversation

vil02
Copy link
Member

Open in Gitpod know more

Describe your change:

This PR:

  • applies theisLeapYear,
  • reorganizes the tests ofGetMonthDays - note the change of the year in one of the test cases (I do not want to create an illusion that this function should be uses for years before 1582).

Checklist:

  • I have readCONTRIBUTING.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 butuserprofile.js,Userprofile.js,user-Profile.js,userProfile.js are not
  • All new algorithms have a URL in their comments that points to Wikipedia or another similar explanation.
  • If this pull request resolves one or more open issues then the commit message containsFixes: #{$ISSUE_NO}.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.94%. Comparing base(d8cfdcd) to head(66ab291).

Additional details and impacted files
@@           Coverage Diff           @@##           master    #1638   +/-   ##=======================================  Coverage   83.93%   83.94%           =======================================  Files         377      377             Lines       19733    19727    -6       Branches     2921     2918    -3     =======================================- Hits        16563    16559    -4+ Misses       3170     3168    -2

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

@vil02vil02 marked this pull request as ready for reviewMarch 5, 2024 18:21
@vil02vil02 marked this pull request as draftMarch 5, 2024 18:22
@vil02vil02 marked this pull request as ready for reviewMarch 5, 2024 18:27
@vil02vil02force-pushed theuse_isLeapYear branch 2 times, most recently fromc523049 to5faf0a5CompareMarch 5, 2024 18:34
@vil02
Copy link
MemberAuthor

@appgurueu or@raklaptudirm could you please re-run theUploadCoverageReport (if needed). It failed due to:The server encountered a temporary error and could not complete your request.

@appgurueu
Copy link
Collaborator

(Just amended your last commit and force pushed to trigger a rerun of CI)

vil02 reacted with laugh emoji

@vil02
Copy link
MemberAuthor

(Just amended your last commit and force pushed to trigger a rerun of CI)

I could do the same, but I did not want tolose your approval. Thanks!

appgurueu reacted with laugh emoji

@appgurueu
Copy link
Collaborator

I could do the same, but I did not want tolose your approval. Thanks!

Heh, right. Sometimes our strict repo config frustrates me a bit.

@raklaptudirmraklaptudirm merged commit4a4ed57 intoTheAlgorithms:masterMar 7, 2024
@vil02vil02 deleted the use_isLeapYear branchMarch 7, 2024 20:35
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@appgurueuappgurueuappgurueu approved these changes

@raklaptudirmraklaptudirmraklaptudirm approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@vil02@codecov-commenter@appgurueu@raklaptudirm

[8]ページ先頭

©2009-2025 Movatter.jp