-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
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
Fix ago bug #1129
Fix ago bug #1129
Conversation
Because I do not speak Russian, I am not sure how to best address those other issues. For example, according to tests, |
Hi @Gallaecio
Yes, you're right.
It means year 1. I think I just overcomplicated the tests and most of the web pages have a simpler format. |
How can you tell |
1 year ago - один год назад / 1 год назад In Russian, there would be one year(1 год), two years(2 года), three years(3 года), and four years(4 года), but five years(5 лет), six years(6 лет), seven years(7 лет), eight years(8 лет), and nine years(9 лет). That is, to count the years, you need two words: год and лет. In general, |
is because the word the месяц(month) can be used with the words either backward or forward in time. |
it's because for |
OK, so I have gone with 2 regular expressions:
I have added a few more test cases that I hope are accurate. Please take a good look. |
LGTM @Gallaecio @wRAR |
Close #340