bradymholt / cRonstrue

JavaScript library that translates Cron expressions into human readable descriptions
http://bradymholt.github.io/cRonstrue/
MIT License
1.3k stars 169 forks source link

Fix ru locale #262

Closed dalex-am closed 1 year ago

dalex-am commented 1 year ago

Word formation is complex In Russian and other Slavic languages. For example, /21, /22, */25 (minutes) - каждую 21 минуту, каждые 22 минуты, каждые 25 минут. Or "Sunday through Tuesday" is "с воскресенья по вторник", but "Tuesday through Friday" is "со вторника по пятницу". I have added optional arguments to some functions and use it in ru locale. It may be helpful for be, uk and some other locales.

bradymholt commented 1 year ago

Thanks!