Open Pliman opened 10 years ago
hm... I should change test as well, later.
retrieved tests, ‘1 second’ and'xx seconds' now will be 'a few seconds' which comes from moment i18n file, I think this is not perfect.
Hey, have you checked if "german (de)" is working for the i18n?
Hi @Pliman and @codebox , happy new year :-)
I would have been interested by this PR, some years have passed, what's the status ? :-)
Hi, @cmalard , the modified files conflicts with current version.
Conflicting files readable-range-test.js readable-range.js
Should fix the conficts based on current version, sometime.
Hello, it nice to find moment-precise-range, but it doesn't support i18n, so I added i18n support with monent relative time concept.
One thing not good is that, now 'a' will replace '1', eg. '1 month' -> 'a month' but moment did like this, make be it will change in the future, probably moment-precise-range with i18n support can still work.