Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lastDayOfMonth support #193

Merged
merged 2 commits into from
Feb 17, 2023
Merged

Add lastDayOfMonth support #193

merged 2 commits into from
Feb 17, 2023

Conversation

slimcandy
Copy link
Contributor

Add trick to set last day of previous month with date.setDate(0).

@codecov
Copy link

codecov bot commented Feb 17, 2023

Codecov Report

Merging #193 (aed8596) into production (0256fbb) will not change coverage.
The diff coverage is 100.00%.

❗ Current head aed8596 differs from pull request most recent head 60fe720. Consider uploading reports for the commit 60fe720 to get more accurate results

@@              Coverage Diff               @@
##           production      #193     +/-   ##
==============================================
  Coverage      100.00%   100.00%             
==============================================
  Files             490       530     +40     
  Lines            4426      1981   -2445     
  Branches          396        85    -311     
==============================================
- Hits             4426      1981   -2445     
Impacted Files Coverage Δ
src/content/lodash/function/after/vanilla.js 100.00% <ø> (ø)
src/content/lodash/function/before/vanilla.js 100.00% <ø> (ø)
src/content/lodash/function/debounce/lodash.js 100.00% <ø> (ø)
src/content/lodash/function/delay/lodash.js 100.00% <ø> (ø)
src/content/lodash/function/once/lodash.js 100.00% <ø> (ø)
...ntent/date-fns/08-month/lastDayOfMonth/date-fns.js 100.00% <100.00%> (ø)
...ontent/date-fns/08-month/lastDayOfMonth/vanilla.js 100.00% <100.00%> (ø)
src/content/lodash/array/difference/vanilla.js 100.00% <100.00%> (ø)
src/content/lodash/array/differenceBy/vanilla.js 100.00% <100.00%> (ø)
src/content/lodash/array/flatMap/lodash.js 100.00% <100.00%> (ø)
... and 542 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@cedmax
Copy link
Owner

cedmax commented Feb 17, 2023

Thank you for your contribution 🙂

@cedmax cedmax merged commit 014b07e into cedmax:production Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants