For now, we have to localize conjunction rules outside of your project.
Will be nice if we can have a simple option to turn on localized conjunction.
ex: humanizeDuration(1000000000000, {largest: 3, conjunction: true, language: 'fr'}) => 31 ans, 8 mois et 1 semaine
For now, we have to localize conjunction rules outside of your project. Will be nice if we can have a simple option to turn on localized conjunction. ex:
humanizeDuration(1000000000000, {largest: 3, conjunction: true, language: 'fr'})
=>31 ans, 8 mois et 1 semaine
ex language config:
I can easily make a pull request with needed code to make it work, but, I can't get all rules for each languages.