ocpsoft/prettytime

[LOW] Typo regarding "months"

Closed this issue · 3 comments

When setting the locale to de there is a typo when handling months. 1 month becomes "1 Monatn" (comparable to "monhs") instead of "1 Monat" (month). Please see the attached issue for a detailed explaination:

TeamNewPipe/NewPipe#6508

@0x5ECF4ULT Hey there. Thanks for the issue report. Mind sending a PR to fix this? It would be super awesome!

Apparently something's wrong with the isPlural() method used in the decorate/decorateUnrounded implementations in Resources_de.DeTimeFormat. So it might help to know how the prettytime API is used in your case.

Closed via #229