Skip to content

v1.0.5 - TimeUtils

Compare
Choose a tag to compare
@Nowaha Nowaha released this 25 Nov 13:43
· 7 commits to master since this release

I added a utility that can easily convert a time difference between two dates into a human readable string.

Examples of outputs:

  • 0s
  • 1m, 0s
  • 1m, 59s
  • 1h, 0m, 0s
  • 1h, 59m, 59s
  • 1d, 0h, 0m, 0s
  • 1d, 23h, 59m, 59s

Full Changelog: v1.0.4...v1.0.5