Please fix declension in relative time
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Thanks for fixing https://github.com/iamkun/dayjs/issues/577. But I found another bug. This time with relativeTime plugin.
**Expected behavior**
It is incorrectly using declension. For example: "2 dayjs ago" needs to be "2 дня назад" but instead shows "2 дней назад". How it needs to be described here http://www.unicode.org/cldr/charts/28/supplemental/language_plural_rules.html#ru
I hope you will fix this and then I'll be able to throw away heavyweight momentjs. Because now I need to use moment for this cases.
**Information**
- Day.js: 1.8.14
- OS: Ubuntu 18.04.2 LTS
- Browser: Google Chrome 74.0.3729.169 (Official Build) (64-bit)
- Time zone: GMT+03:00
Contributor guide
Assessment
This issue has not been assessed yet.