I'm proud to introduce version 2.0.0 of Human-Readable, a small set of data formatting utilities for Kotlin (Multiplatform). This release mainly adds extra formatting options:
• New styles (long "1 hour, 50 minutes", short "1 hr, 50 min", narrow "1h 50m")
• Multi-part formatting
• Configurable smallest unit/limit
• Support for "today/tomorrow/yesterday"
• Optional "about" prefix for non-exact results
• Configurable rounding
and it's now also available for tvOS, watchOS and native platforms 🎉 Many thanks to the testers of the alpha versions!
github.com/jacobras/Human-Readable