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'.

150
likes
160/ 160
pub points
9.99k
downloads

We analyzed this package 9 days ago, and awarded it 160 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

247 out of 273 API elements (90.5 %) have documentation comments.

Some symbols that are missing documentation: get_time_ago, get_time_ago.ArabicMessages.ArabicMessages.new, get_time_ago.Data.Data.new, get_time_ago.Data.defaultLocale, get_time_ago.Data.defaultMessages.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
intl >=0.18.0 <0.21.0 0.20.2 0.20.2
Transitive dependencies
Package Constraint Compatible Latest Notes
clock - 1.1.2 1.1.2
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 10Aug 7Sep 4Oct 2Oct 30Nov 27Dec 25Jan 22Feb 19Mar 1902004006008001k1.2k1.4k1.6k1.8k>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0
150
likes
160
points
9.99k
downloads

Publisher

verified publishernixrajput.com

Weekly Downloads

2024.09.26 - 2025.04.10

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