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 yearsToDays Function #3540

Merged
merged 4 commits into from
Jan 5, 2024
Merged

Add yearsToDays Function #3540

merged 4 commits into from
Jan 5, 2024

Conversation

makstyle119
Copy link
Contributor

Add yearsToDays Function

@kossnocorp
Copy link
Member

Can you please rebase the branch?

@makstyle119
Copy link
Contributor Author

Can you please rebase the branch?

PR is now up to date, thanks for the remainder 😇

@kossnocorp kossnocorp self-assigned this Jan 4, 2024
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@kossnocorp kossnocorp merged commit 2b689dd into date-fns:main Jan 5, 2024
6 checks passed
@kossnocorp
Copy link
Member

Shipped with date-fns@3.1.0

* @example
* // Convert 2 years into days
* const result = yearsToDays(2)
* //=> 24

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be 730 I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Shipped
Development

Successfully merging this pull request may close these issues.

None yet

8 participants