get_time_ago 2.3.0 copy "get_time_ago: ^2.3.0" to clipboard
get_time_ago: ^2.3.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.3.0] #

  • Added: Support for Italian (it) locale.
  • Updated: Documentation for new locale.
  • Fixed: Issue with locale in DateFormat method of intl package. (#43)

[2.2.0] #

  • Added: Support for Nepali (ne) locale.
  • Updated: Documentation for new locale.
  • Improved: Updated and added new test cases.

[2.1.2] #

  • Updated: Dependencies.

[2.1.1] #

  • Fixed: Issue with the demo web app.
  • Security: Added SECURITY.md for reporting vulnerabilities and ensuring security best practices.
  • Enhanced: Added a pull request template for standardized contribution checks.

[2.1.0] #

  • Added: Support for Dutch (nl) locale.
  • Updated: Dependencies.
  • Fixed: All known bugs and issues.

[2.0.0] #

  • Breaking: Introduced justNow method to display times less than 15 seconds.
  • Updated: Documentation for breaking changes.
  • Improved: Added comments to classes, messages, data, and utility functions.
  • Improved: Updated and added new test cases.

[1.3.1] #

  • Fixed: Lint errors and warnings.

[1.3.0] #

  • Updated: Dependencies.
  • Updated: Documentation to include all contributors.
  • Fixed: All known bugs and issues.

[1.2.5] #

  • Changed: License updated to MIT.
  • Added: Support for Romanian (ro) locale.
  • Updated: Dependencies.
  • Fixed: All known bugs and issues.

[1.2.4] #

  • Added: Support for Persian (fa) locale.
  • Fixed: All known bugs and issues.

[1.2.3] #

  • Updated: intl package version.
  • Removed: Unnecessary dependencies.
  • Fixed: All known bugs and issues.

[1.2.2] #

  • Removed: Unnecessary dependencies.
  • Fixed: All known bugs and issues.

[1.2.1] #

  • Updated: Documentation.
  • Fixed: All known bugs and issues.

[1.2.0] #

  • Updated: intl package version.
  • Fixed: All known bugs.

[1.1.8] #

  • Added: Support for Vietnamese (vi) locale.
  • Fixed: All known issues.

[1.1.7] #

  • Added: Urdu (ur) and Arabic (ar) locale support.
  • Added: Utility functions to convert English numbers to Urdu and Arabic numbers.
  • Updated: Tests and documentation.
  • Fixed: All known bugs.

[1.1.6] #

  • Updated: Project structure.
  • Added: Method to override DefaultMessages.
  • Added: Method to add custom locales and messages.
  • Removed: Unnecessary code.
  • Updated: Documentation.

[1.1.5] #

  • Added: Turkish (tr) locale support.
  • Fixed: Minor bugs.

[1.1.4] #

  • Fixed: Minor bugs.
  • Improved: Performance.

[1.1.3] #

  • Added: Indonesian (id) locale support.
  • Fixed: Bugs.
  • Updated: Documentation.

[1.1.2] #

  • Fixed: Bugs.
  • Updated: Documentation.

[1.1.1] #

  • Added: Traditional Chinese (zh_tr) locale support.
  • Fixed: Bugs.
  • Updated: Documentation.

[1.1.0] #

  • Added: German (de) locale support.
  • Fixed: Bugs.
  • Updated: Documentation.

[1.0.9] #

  • Added: Korean (ko) locale support.
  • Fixed: Bugs.

[1.0.8] #

  • Fixed: Bugs.
  • Improved: Performance and source code optimization.

[1.0.7+1] #

  • Fixed: Minor bugs.
  • Improved: Performance.

[1.0.7] #

  • Added: Occitan (oc) locale support.
  • Fixed: Minor bugs and corrections in French locale.

[1.0.6] #

  • Added: Japanese (ja) locale support.
  • Added: Customizable DateFormat pattern argument.
  • Updated: Documentation and screenshots for Android.
  • Fixed: Minor bugs.
  • Improved: Performance.

[1.0.5] #

  • Updated: Documentation.

[1.0.4] #

  • Improved: Performance.
  • Added: Time display with date.

[1.0.3] #

  • Renamed: Default class to GetTimeAgo and method getTimeAgo to parse.
  • Updated: Documentation.

[1.0.2] #

  • Optimized: Source code.
  • Updated: Documentation.

[1.0.1] #

  • Added: Simplified Chinese (zh) locale support.
  • Fixed: Minor bugs.
  • Optimized: Source code.
  • Updated: Documentation.

[1.0.0] #

  • Added: Null Safety support.
  • Fixed: Minor bugs.
  • Improved: Performance.

[0.1.7] #

  • Fixed: Bugs.
  • Improved: Performance.

[0.1.6] #

  • Fixed: Minor bugs.

[0.1.3] #

  • Fixed: Minor bugs.
  • Optimized: Source code.
  • Updated: Example for better illustration.

[0.1.2] #

  • Fixed: Minor bugs.
  • Updated: Documentation.

[0.1.1] #

  • Fixed: Minor bugs.
  • Updated: Documentation and examples.

[0.1.0] #

  • Added: Support for English (en), Spanish (es), French (fr), Hindi (hi), Portuguese (pt), and Brazilian (br) locales.
  • Optimized: Source code.
  • Fixed: Minor bugs.
  • Updated: Documentation and examples.

[0.0.7] #

  • Fixed: Minor bugs.

[0.0.6] #

  • Fixed: Bugs.
  • Updated: Example.

[0.0.5] #

  • Updated: Screenshots.

[0.0.4] #

  • Added: Implementation example and Android screenshots.
  • Fixed: Bugs.

[0.0.3] #

  • Made: getTimeAgo() function static.

[0.0.2] #

  • Updated: Functionality to use TimeAgo.getTimeAgo for formatting.

[0.0.1] #

  • Initial release.
148
likes
160
points
9.7k
downloads

Publisher

verified publishernixrajput.com

Weekly Downloads

2024.09.17 - 2025.04.01

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 #time-ago #timeago #flutter-timeago #flutter-get-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