Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for Chuvash suffix changes in future fromNow #398
Chuvash uses an affix to express the future "fromNow". This affix can have different forms depending on preceeding sound. I wrote about this issue in my blog post: Chuvash localization of moment.js. To solve this, the core moment.js has to support custom logic for future expressions.
In this PR I added tests for this for Chuvash, changes in lang/cv.js (a function instead of a string) and a change in "humanize" function in moment.js file.