get_time_ago 2.1.0 copy "get_time_ago: ^2.1.0" to clipboard
get_time_ago: ^2.1.0 copied to clipboard

A Dart package to convert and format `DateTime` objects into human-readable 'time ago' strings like '20 seconds ago', 'a minute ago', or '7 hours ago'.

Changelog #

2.1.0 #

  • Change: Added support for Dutch (nl) locale.
  • Change: Dependencies updated.
  • Fix: All known bugs and issues fixed.

2.0.0 #

  • Breaking Change: A new message method justNow added for displaying the time less than 15 seconds.
  • Documentation: Updated the documentation to include breaking changes.
  • Improvement: Added comments to the classes, messages, data, and utility functions.
  • Improvement: New test cases are added and old test cases are removed or updated.

1.3.1 #

  • Fix: Lint errors and warnings fixed.

1.3.0 #

  • Change: Dependencies updated.
  • Documentation: Updated the documentation to show all contributors.
  • Fix: All known bugs and issues fixed.

1.2.5 #

  • Change: LICENSE changed to MIT.
  • Change: Added support for Romanian (ro) locale.
  • Change: Dependencies updated.
  • Fix: All known bugs and issues fixed.

1.2.4 #

  • Change: Added support for Persian (fa) locale.
  • Fix: All known bugs and issues fixed.

1.2.3 #

  • Change: intl version updated.
  • Change: Removed unnecessary dependencies.
  • Fix: All known bugs and issues fixed.

1.2.2 #

  • Change: Removed unnecessary dependencies.
  • Fix: All known bugs and issues fixed.

1.2.1 #

  • Documentation: Updated documentation.
  • Fix: All known bugs and issues fixed.

1.2.0 #

  • intl version updated.
  • All known bugs fixed.

1.1.8 #

  • Added support for Vietnamese (vi) locale.
  • All known issues have been fixed.

1.1.7 #

  • Added Urdu (ur) and Arabic (ar) locales support.
  • Added utility functions to convert English numbers to Urdu and Arabic numbers.
  • Added and updated tests.
  • Documentation improvements.
  • All known bugs fixed.

1.1.6 #

  • Project structure changed/updated.
  • Adding method to override DefaultMessages.
  • Adding method to add your own Locale and Messages.
  • Some unnecessary codes are removed.
  • Documentation updated.

1.1.5 #

  • Added Turkish (tr) locale support.
  • Minor bug fixes.

1.1.4 #

  • Minor bug fixes.
  • Performance improvements.

1.1.3 #

  • Added Indonesian (id) locale support.
  • Bug fixes.
  • Documentation updated.

1.1.2 #

  • Bug fixes.
  • Documentation updated.

1.1.1 #

  • Added Traditional Chinese (zh_tr) locale support.
  • Bug fixes.
  • Documentation updated.

1.1.0 #

  • Added German (de) locale support.
  • Bug fixes.
  • Documentation updated.

1.0.9 #

  • Added Korean (ko) locale support.
  • Bug fixes.

1.0.8 #

  • Bug fixes.
  • Performance improvements.
  • Source code optimization.

1.0.7+1 #

  • Minor bug fixes.
  • Performance improvements.

1.0.7 #

  • Added Occitan (oc) locale support.
  • Minor correction in French locale.
  • Minor bug fixes.

1.0.6 #

  • Added Japanese (ja) locale support.
  • Added an argument that can change the DateFormat pattern.
  • Documentation updated.
  • Added updated screenshots from Android.
  • Minor bug fixes.
  • Performance improvements.

1.0.5 #

  • Documentation updated.

1.0.4 #

  • Performance improvements.
  • Time will display with date.

1.0.3 #

  • Name of default class changed to GetTimeAgo.
  • Method getTimeAgo renamed to parse.
  • Documentation updated.

1.0.2 #

  • Revamped documentation.
  • Source code optimised.

1.0.1 #

  • Minor bug fixes.
  • Added Simplified Chinese (zh) locale support.
  • Source code optimised.
  • Revamped documentation.

1.0.0 #

  • Null Safety support.
  • Minor bug fixes.
  • Performance improvements.

0.1.7 #

  • Bug fixes.
  • Performance improvements.

0.1.6 #

  • Minor bug fixes.

0.1.3 #

  • Minor bug fixes.
  • Source code optimised.
  • Revamped example for better illustration.

0.1.2 #

  • Minor bug fixes.
  • Revamped documentation.

0.1.1 #

  • Minor bug fixes.
  • Revamped documentation.
  • Revamped example for better illustration.

0.1.0 #

  • Added English (en) locale support.
  • Added Spanish (es) locale support.
  • Added French (fr) locale support.
  • Added Hindi (hi) locale support.
  • Added Portuguese (pt) locale support.
  • Added Brazil (br) locale support.
  • Source code optimised.
  • Minor bug fixes.
  • Revamped documentation.
  • Revaped plugin to support for latest builds.
  • Revamped example for better illustration.

0.0.7 #

  • Minor bug fixes.

0.0.6 #

  • Fixed some bugs.
  • Updated example.

0.0.5 #

  • Updated screenshots.

0.0.4 #

  • Added example for implementation.
  • Added some android screenshots.
  • Fixed some bugs.

0.0.3 #

  • Made Function getTimeAgo() static.

0.0.2 #

  • Use TimeAgo.getTimeAgo to format DateTime.

0.0.1 #

  • Initial release.
138
likes
150
points
7.66k
downloads

Publisher

verified publishernixrajput.com

Weekly Downloads

A Dart package to convert and format `DateTime` objects into human-readable 'time ago' strings like '20 seconds ago', 'a minute ago', or '7 hours ago'.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#get-time-ago #gettimeago #timeago #time-ago

Documentation

API reference

Funding

Consider supporting this project:

ko-fi.com
buymeacoffee.com
github.com

License

MIT (license)

Dependencies

intl

More

Packages that depend on get_time_ago