refactor: use isLeapYear#1638
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1638 +/- ##
=======================================
Coverage 83.93% 83.94%
=======================================
Files 377 377
Lines 19733 19727 -6
Branches 2921 2917 -4
=======================================
- Hits 16563 16559 -4
+ Misses 3170 3168 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
c523049 to
5faf0a5
Compare
|
@appgurueu or @raklaptudirm could you please re-run the |
5faf0a5 to
00aca32
Compare
|
(Just amended your last commit and force pushed to trigger a rerun of CI) |
I could do the same, but I did not want to lose your approval. Thanks! |
Heh, right. Sometimes our strict repo config frustrates me a bit. |
Describe your change:
This PR:
isLeapYear,GetMonthDays- 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:
This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.Example:
UserProfile.jsis allowed butuserprofile.js,Userprofile.js,user-Profile.js,userProfile.jsare notFixes: #{$ISSUE_NO}.