relative_time 2.2.0-beta.1 copy "relative_time: ^2.2.0-beta.1" to clipboard
relative_time: ^2.2.0-beta.1 copied to clipboard

outdated

Expresses a DateTime object relative to the current time in text form.

2.2.0-beta.1 #

  • Add Bodo, Maithili and Norwegian Nynorsk languages.
  • Update Taraškievica Belarusian, Lower Sorbian, English (as used in the United Kingdom), Esperanto, Spanish (as used in Latin America and the Caribbean), Persian, Filipino, French (as used in Canada), Irish, Hindi, Macedonian, Maltese, Oriya, Portuguese (as used in Portugal) and Northern Sami translations.

2.1.0 #

  • Determine localization in constructor rather than on format call.

2.0.1 #

  • Fix error in README.

2.0.0 #

  • Introduce separate constructors and extension methods for context and locale based initialization. Prevents potential runtime errors caused by omitting both context and locale parameters.

1.2.1 #

  • Fix syntax error in README.

1.2.0 #

  • Prefer natural language over numeric values by default. For instance, 'tomorrow' is used instead of the previous 'in 1 day'.
  • Add numeric flag to prefer numeric values over natural language.

1.1.0 #

  • Add Esperanto, Luxembourgish and Mazanderani languages.
  • Add zero counts for most time units. For instance, if the most granular specified time unit is hours, a difference of less than one hour will be represented as 'this hour' rather than the previous 'now'.

1.0.1 #

  • Fix static analysis issues.

1.0.0 #

  • Initial version.
21
likes
0
points
3.91k
downloads

Publisher

verified publisherviter.nl

Weekly Downloads

Expresses a DateTime object relative to the current time in text form.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

clock, flutter, flutter_localizations, intl

More

Packages that depend on relative_time