Incorrect English grammar of plural "years" after a single year: "1 years ago"
See original GitHub issueSeems this is returned from the date-fns
formatDistance
utility.
Maybe it needs to be specified to use the United States english locale?
I see in date-fns master the en-US
locale should display correctly… I haven’t compared versions to see if a update would fix this. 🤔
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Years' or Year's or Years - BusinessWritingBlog
Well, all three are perfectly correct depending on the context. Here is the quick rundown: Years is the plural of the word “year”....
Read more >What Is the Difference Between Years and Year's?
“Years” is the plural form of year, indicating multiple years. We use “year's,” with an added apostrophe, to indicate the singular ...
Read more >Common English Grammar Errors with Plurals - YouTube
You will also learn three categories of nouns: irregular, single, and plural. Watch this lesson to improve your English dramatically in just a ......
Read more >Writing Dates and Times
Our Rule 9 of Commas says, “Use a comma to separate the day of the month from the year, and—what most people forget!—always...
Read more >Apostrophe | Effective Writing Practices Tutorial
Apostrophe errors often occur when the plural form and the possessive form are confused. Additionally, apostrophes also tend to be used incorrectly with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Synsyxx You’ve got it. 💯Using
formatDistance
inside of Line 111, and taking out the word “years” would do it!Fairly new to this sort of stuff, but if I’m understanding it right, should just need to replace 111 with formatDistance? Or maybe distanceInWords? Just reading over the docs for date-fns to try to understand how it works.