Skip to content

Fix bugs around validating diffing units #225

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

Merged
merged 2 commits into from
Mar 1, 2025
Merged

Conversation

nekevss
Copy link
Member

@nekevss nekevss commented Mar 1, 2025

Fixes a couple bugs in ResolvedRoundingOptions::from_diff_settings.

Fixes:
- Validate the smallest unit with unit group
- Handle Some(TemporalUnit::Auto) case
- Adjust the error message

The PR also adjusts the specification docs for the steps.

@nekevss nekevss added C-bug Something isn't working C-internal Internal library improvements labels Mar 1, 2025
Copy link
Member

@jedel1043 jedel1043 left a comment

Choose a reason for hiding this comment

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

Looks good!

@jedel1043 jedel1043 merged commit 098322f into main Mar 1, 2025
8 checks passed
@jedel1043 jedel1043 deleted the validate-smallest-unit branch March 1, 2025 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Something isn't working C-internal Internal library improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants