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 logic on asserting is_time_duration #177

Merged
merged 2 commits into from
Jan 23, 2025
Merged

Conversation

nekevss
Copy link
Member

@nekevss nekevss commented Jan 22, 2025

By default, is_time_duration should return true if all fields of DateDuration are 0. Removed the extra line that was incorrectly checking TimeDuration.

@nekevss nekevss force-pushed the fix-instant-assertion branch from d76963c to 072f751 Compare January 23, 2025 04:36
@nekevss nekevss merged commit 43cb325 into main Jan 23, 2025
6 checks passed
@nekevss nekevss deleted the fix-instant-assertion branch January 23, 2025 05:35
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.

2 participants