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

Issue1358 date/time duration breakage #1359

Open
wants to merge 4 commits into
base: development
Choose a base branch
from
Open

Conversation

petersilva
Copy link
Contributor

close #1358

  • added months and years to durationToSeconds() and durationToString()
  • added test cases to cover them.

note that durationToString will never return a quantity in "weeks" because the humanize.naturaldelta() never uses that unit.

Copy link

github-actions bot commented Dec 23, 2024

Test Results

239 tests   234 ✅  1m 33s ⏱️
  1 suites    1 💤
  1 files      4 ❌

For more details on these failures, see this check.

Results for commit 7d30474.

♻️ This comment has been updated with latest results.

@petersilva petersilva changed the title Issue1358 Issue1358 date/time duration breakage Dec 23, 2024
@petersilva petersilva marked this pull request as ready for review December 23, 2024 17:19
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.

Humanization of ints fails for values > 2,592,000 (1 month)
1 participant