Skip to content

Conversation

@lazybark
Copy link

@lazybark lazybark commented Nov 5, 2024

This PR introduces NewV7FromTime to provide more flexible use

Introduce NewV7FromTime to provide more flexible use
@lazybark lazybark requested a review from a team as a code owner November 5, 2024 17:49
@lazybark lazybark requested a review from bormanp December 9, 2024 14:19
defer timeMu.Unlock()

nano := timeNow().UnixNano()
nano := t.UnixNano()

Choose a reason for hiding this comment

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

Due to the behavior later in this function with lastV7time I don't think we want that when using a custom timestamp. Basically if you pass in a future time, then a past time, the past time will get reset to be in the future. I opened #182 that doesn't have this issue.

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.

3 participants