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

Add helper function for determining if a Time has occured #36

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

BradBot1
Copy link
Contributor

@BradBot1 BradBot1 commented Aug 7, 2024

This pull request adds has_occured(value: Time) -> Bool


I've added this as I find myself having to check this condition alot when dealing with JWT's or invalidation, and this shorthand removes my need for a helper function across my code. This function only calls the compare method and performs a comparison so basically no maintenence

@BradBot1 BradBot1 changed the title Add helper function for dermining if a Time has occured Add helper function for determining if a Time has occured Sep 24, 2024
@massivefermion
Copy link
Owner

Thanks

@massivefermion massivefermion merged commit fab749a into massivefermion:main Dec 18, 2024
1 check passed
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