{"id":13549844,"url":"https://github.com/baderouaich/time_ago_provider","last_synced_at":"2026-01-11T04:50:05.177Z","repository":{"id":45195688,"uuid":"181568552","full_name":"baderouaich/time_ago_provider","owner":"baderouaich","description":"library for generating fuzzy timestamp for example (\"9 minutes ago\")","archived":false,"fork":false,"pushed_at":"2023-10-06T08:21:15.000Z","size":97,"stargazers_count":16,"open_issues_count":1,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T17:24:47.795Z","etag":null,"topics":["dart","flutter","flutter-package","fuzzy-timestamps","timestamp"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/time_ago_provider","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baderouaich.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-04-15T21:29:43.000Z","updated_at":"2022-08-19T20:19:38.000Z","dependencies_parsed_at":"2024-03-16T22:00:55.053Z","dependency_job_id":"7f612c40-0fd2-419a-aac1-9a9d695b70b0","html_url":"https://github.com/baderouaich/time_ago_provider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baderouaich%2Ftime_ago_provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baderouaich%2Ftime_ago_provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baderouaich%2Ftime_ago_provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baderouaich%2Ftime_ago_provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baderouaich","download_url":"https://codeload.github.com/baderouaich/time_ago_provider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052647,"owners_count":20553162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","flutter","flutter-package","fuzzy-timestamps","timestamp"],"created_at":"2024-08-01T12:01:26.244Z","updated_at":"2026-01-11T04:50:00.157Z","avatar_url":"https://github.com/baderouaich.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"# time_ago_provider\n\nlibrary for generating fuzzy timestamp e.g(\"9 minutes ago\")\n\n[![pub package](https://img.shields.io/pub/v/time_ago_provider.svg)](https://pub.dev/packages/time_ago_provider)\n[![Github test](https://github.com/BaderEddineOuaich/time_ago_provider/workflows/test/badge.svg)](https://github.com/BaderEddineOuaich/time_ago_provider/actions?query=workflow%3Atest)\n\n```dart\nimport 'package:time_ago_provider/time_ago_provider.dart' as timeAgo;\n\nvoid main() {\n  /// Default Format (summary of elapsed time)\n  final nineMinutesElapsed = DateTime.now().subtract(Duration(minutes: 9));\n  print(timeAgo.format(nineMinutesElapsed)); // 9 minutes ago\n  print(timeAgo.format(nineMinutesElapsed, locale: 'en_short')); // 9 min\n\n  /// Full Format (detailed elapsed time years, months, days...)\n  final longTimeElapsed = DateTime.now().subtract(Duration(days: 999, hours: 6, minutes: 8, seconds: 3));\n  print(timeAgo.formatFull(longTimeElapsed)); // 2 years, 9 months, 9 days, 6 hours, 8 minutes, 3 seconds\n  print(timeAgo.formatFull(longTimeElapsed, locale: 'en_short')); // 2 yr, 9 mo, 9 d, 6 h, 8 min, 3 sec\n\n  /// Adding new locales\n  timeAgo.setLocale('de', timeAgo.German());\n  timeAgo.setLocale('de_short', timeAgo.German(shortForm: true));\n  print(time_ago.format(nineMinutesElapsed, locale: 'de')); // vor 9 Minuten\n  print(timeAgo.format(nineMinutesElapsed, locale: 'de_short')); // 9 Min.\n}\n```\n\n## Supported Languages\n\n- [x] ENGLISH\n- [x] GERMAN\n- [x] POLISH\n- [x] FRENCH\n- [x] ARABIC\n- [x] TURKISH\n- [x] PORTUGUESE\n- [x] ITALIAN\n- [x] SWEDISH\n- [x] NORWEGIAN\n- [x] PERSIAN\n- [x] SPANISH\n- More will be added\n\n## Installing\n\n[Package](https://pub.dartlang.org/packages/time_ago_provider)\n\n## Contributors ✨\n\nThanks goes to these wonderful people!\u003cbr\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ca href=\"https://github.com/l7ssha\"\u003e\n      \u003cimg width=\"50\" height=\"50\" src=\"https://github.com/l7ssha.png\"\u003e\n    \u003c/a\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ca href=\"https://github.com/veneno261\"\u003e\n      \u003cimg width=\"50\" height=\"50\" src=\"https://github.com/veneno261.png\"\u003e\n    \u003c/a\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ca href=\"https://github.com/hacioguz\"\u003e\n      \u003cimg width=\"50\" height=\"50\" src=\"https://github.com/hacioguz.png\"\u003e\n    \u003c/a\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ca href=\"https://github.com/bgoktugozdemir\"\u003e\n      \u003cimg width=\"50\" height=\"50\" src=\"https://github.com/bgoktugozdemir.png\"\u003e\n    \u003c/a\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ca href=\"https://github.com/luizeof\"\u003e\n      \u003cimg width=\"50\" height=\"50\" src=\"https://github.com/luizeof.png\"\u003e\n    \u003c/a\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ca href=\"https://github.com/TommasoAzz\"\u003e\n      \u003cimg width=\"50\" height=\"50\" src=\"https://github.com/TommasoAzz.png\"\u003e\n    \u003c/a\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ca href=\"https://github.com/andreasusego\"\u003e\n      \u003cimg width=\"50\" height=\"50\" src=\"https://github.com/andreasusego.png\"\u003e\n    \u003c/a\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ca href=\"https://github.com/tavanarad\"\u003e\n      \u003cimg width=\"50\" height=\"50\" src=\"https://github.com/tavanarad.png\"\u003e\n    \u003c/a\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ca href=\"https://github.com/baldomerocho\"\u003e\n      \u003cimg width=\"50\" height=\"50\" src=\"https://github.com/baldomerocho.png\"\u003e\n    \u003c/a\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ca href=\"https://github.com/andgar2010\"\u003e\n      \u003cimg width=\"50\" height=\"50\" src=\"https://github.com/andgar2010.png\"\u003e\n    \u003c/a\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Features and bugs\n\nIf you face any problems feel free to open an issue at the [issue tracker][tracker]. If you feel the library is missing a feature, please raise a ticket on Github. Pull request are also welcome.\n\n[tracker]: https://github.com/BaderEddineOuaich/time_ago_provider/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaderouaich%2Ftime_ago_provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaderouaich%2Ftime_ago_provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaderouaich%2Ftime_ago_provider/lists"}