Upload Date in StreamInfoItem with Error from PrettyTime Conversion in German
#6050 aperta il 11 apr 2021
Metriche repository
- Star
- (38.153 star)
- Metriche merge PR
- (Merge medio 9g 17h) (17 PR mergiate in 30 g)
Descrizione
Checklist
- I am using the latest version - x.xx.x
- I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
- I have read the contribution guidelines given at https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md.
- This issue contains only one bug. I will open one issue for every bug report I want to file.
Steps to reproduce the bug
As the Image shows, if you open any View containing several StreamInfos, some of them have a bad PrettyTime conversion.
Expected behavior
In German (and other languages), the date is expressed with a certain gramatical case. So if the video was made 2 months ago, the date would have to be translated to "vor 2 Monaten". This suffix only appears with the plural of the word so "1 month ago" would translate to "vor 1 Monat" without the n.
Actual behaviour
The upload date is wrongly declinated in a way that it also receives the case suffix if the unit for the date is singular. "1 month ago" -> "vor 1 Monatn" This actually only happens with part of the dates as seen in the example picture.
Screenshots/Screen recordings

Logs
No Logs available
Device info
- Android version/Custom ROM version: Android 10
- Device model: Android Emulator (Nexus 5X)