jacobras/Human-Readable

German: timeAgo returns incorrect plural forms

Closed this issue · 1 comments

Example:

  • For "one month ago", timeAgo returns "vor 1 Monat", which is correct.
  • For "two months ago", timeAgo returns "vor 2 Monate", which is incorrect. Correct is "vor 2 Monaten".

So it seems that you have to consider the grammatical case, which the configuration does not currently support. (I'm a native speaker, but not a rules expert as I'm and using grammar intuitively. Someone else might explain it better.)

Note: Durations are correctly shown as "1 Monat", "2 Monate".

Thanks for reporting! It's also incorrect for Polish and Russian.

Consolidating this into #47.