I'm needed to change Locale in a runtime, so I'm trying to change locale for instance of pretty time, but it seems that language is not updated. As I can see, locale is changed but units.values is not. Version prettytime:4.0.2.Final
val prettyTime = PrettyTime()
prettyTime.locale = Locale.FRANCE
prettyTime.format(DateTime().toDate())
I've tried Locale.FRENCH also...
If I'm creating instance with locale, it works well
I'm needed to change Locale in a runtime, so I'm trying to change locale for instance of pretty time, but it seems that language is not updated. As I can see,
locale
is changed butunits.values
is not. Versionprettytime:4.0.2.Final
I've tried
Locale.FRENCH
also...If I'm creating instance with locale, it works well