Skip to content

Conversation

kevin-montrose
Copy link
Contributor

Noticed while working on ACLs, these uses of TimeSpan.Seconds and TimeSpan.Days appear incorrect.

Switched to using the TimeSpan.TotalXXX equivalents which return total duration in whatever unit, not just the "component" bit of the TimeSpan.

…s to get duration so we need the TotalXXX properties in these places
Copy link
Collaborator

@vazois vazois left a comment

Choose a reason for hiding this comment

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

LGTM!

@badrishc badrishc merged commit 2dff684 into microsoft:main Jun 4, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants