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

feat: add is future and is past method #30

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

M03ED
Copy link

@M03ED M03ED commented May 21, 2024

i add is future and is past method , its useful for some cases like when we want to check a birth date be valid

@M03ED M03ED changed the title feat: add is feuture and is past method feat: add is future and is past method May 21, 2024
ptime.go Outdated Show resolved Hide resolved
ptime.go Outdated Show resolved Hide resolved
@M03ED
Copy link
Author

M03ED commented Aug 18, 2024

i think after and before can be misunderstood, after and before is like you want to get 2 variable as input and compare them with each other

@M03ED
Copy link
Author

M03ED commented Sep 16, 2024

i think this is what you mean and this is how go implemented Before and After method in standard library

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