duration 3.0.7 copy "duration: ^3.0.7" to clipboard
duration: ^3.0.7 copied to clipboard

outdated

Utilities to make working with 'Duration's easier. Formats duration in human readable form and also parses duration in human readable form to Dart's Duration.

Changelog #

3.0.7 #

  • Chinese and Czech languages
  • Breaking changes to chinese locale
  • Minute is now abbreviated as 'min' not 'm'

3.0.6 #

  • Fixed parseDuration
  • Documented parseDuration in README

3.0.5 #

  • README note on prettyDuration

3.0.4 #

  • English plural fix for 0 years

3.0.2 #

  • English plural fix for negative amounts

3.0.1 #

  • Added Indonesian, Korean, Romanian and Arabic locales

3.0.0 #

  • Migration to null safety

2.0.15 #

  • Hebrew locale

2.0.14 #

  • Chinese locale
  • Dutch locale

2.0.12 #

  • Fix for Itallian locale
  • Fix for German locale

2.0.11 #

  • dartfmt

2.0.10 #

  • Added ItalianDurationLocale

2.0.9 #

  • Added DurationLocale.fromLanguageCode
  • Added constants for all locales

2.0.6 #

  • tryParseDuration, tryParseTime and tryParseDurationAny

2.0.5 #

  • Added parseDuration

2.0.4 #

  • Terisity now takes account missing values inbetween.

2.0.1 #

  • Russian and Portugese support

2.0.0 #

  • Removed dependence on quiver_time
  • Upgraded to Dart 2 stable

1.0.0 #

  • printDuration
  • prettyDuration
  • printSeconds
  • prettySeconds
  • printMilliseconds
  • prettyMilliseconds
147
likes
0
pub points
97%
popularity

Publisher

unverified uploader

Utilities to make working with 'Duration's easier. Formats duration in human readable form and also parses duration in human readable form to Dart's Duration.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on duration