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

Fix formatting and parsing of negative durations #82

Merged
merged 6 commits into from
Mar 9, 2024

Conversation

oswaldobapvicjr
Copy link
Owner

@oswaldobapvicjr oswaldobapvicjr commented Mar 8, 2024

Since the support for negative durations was introduced in version 2.5.2 by #79, the DurationFormat class, which is responsible for the parsing and formatting of durations became unstable.

This push fixes these problems.

@oswaldobapvicjr oswaldobapvicjr added the bug Something isn't working label Mar 8, 2024
@oswaldobapvicjr oswaldobapvicjr self-assigned this Mar 8, 2024
Copy link

codecov bot commented Mar 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (c4cd9bc) to head (d590648).

Additional details and impacted files
@@             Coverage Diff             @@
##              master       #82   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       325       341   +16     
===========================================
  Files             21        21           
  Lines            829       875   +46     
  Branches          34        39    +5     
===========================================
+ Hits             829       875   +46     

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

@oswaldobapvicjr oswaldobapvicjr marked this pull request as draft March 8, 2024 01:32
@oswaldobapvicjr oswaldobapvicjr marked this pull request as ready for review March 9, 2024 18:47
@oswaldobapvicjr oswaldobapvicjr merged commit 7734ef4 into master Mar 9, 2024
6 checks passed
@oswaldobapvicjr oswaldobapvicjr deleted the issue/0082 branch March 9, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant