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: grammar of a singular amount ago #580

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

joshmedeski
Copy link
Contributor

Describe what this PR does / why we need it

Improves grammar of time ago to include singular instances (day, hour, etc...)

Does this pull request fix one issue?

Fixes #579

Describe how you did it

Conditional check on the time spans before returning the text.

Describe how to verify it

View a comment that was "1 day ago". I confirmed this works!

Special notes for reviews

This is a pretty procedural fix, let me know if you want a more programmatic approach.

@pwntester
Copy link
Owner

Thanks!

@pwntester pwntester merged commit 0134169 into pwntester:master Aug 8, 2024
2 checks passed
@joshmedeski joshmedeski deleted the fix-ago-grammar branch August 8, 2024 14:00
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.

Fix "1 days ago" grammar
2 participants