We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug 1s is humanized as "1 seconds" instead of "1 second" or "a second"
To Reproduce moment.duration(1, 's').humanize(false, { ss: 0 }) returns 1 seconds
moment.duration(1, 's').humanize(false, { ss: 0 })
1 seconds
Expected behavior 1 second or a second (moment.duration(1, 'm').humanize(false) returns a minute)
1 second
a second
moment.duration(1, 'm').humanize(false)
a minute
Please run the following code in your environment and include the output:
Fri Mar 19 2021 16:37:16 GMT+0100 (heure normale d’Europe centrale) debugger eval code:1:9 19/03/2021 à 16:37:16 debugger eval code:2:9 -60 debugger eval code:3:9 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0 debugger eval code:4:9 2.29.1
Additional context Same issue with moment.local('fr') : "1 secondes" instead of "1 seconde" or "une seconde".
moment.local('fr')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
1s is humanized as "1 seconds" instead of "1 second" or "a second"
To Reproduce
moment.duration(1, 's').humanize(false, { ss: 0 })
returns1 seconds
Expected behavior
1 second
ora second
(moment.duration(1, 'm').humanize(false)
returnsa minute
)Please run the following code in your environment and include the output:
Additional context
Same issue with
moment.local('fr')
: "1 secondes" instead of "1 seconde" or "une seconde".The text was updated successfully, but these errors were encountered: