{"id":32272865,"url":"https://github.com/g-30/chrono_dart","last_synced_at":"2026-02-19T21:50:09.640Z","repository":{"id":198727192,"uuid":"698350807","full_name":"g-30/chrono_dart","owner":"g-30","description":"A natural language date parser in Dart. Inspired by @wanasit/chrono.","archived":false,"fork":false,"pushed_at":"2024-08-13T16:19:07.000Z","size":110,"stargazers_count":15,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T23:11:49.481Z","etag":null,"topics":["android","dart","date-parser","date-parsing","datetime","flutter","ios"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/chrono_dart","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/g-30.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,"publiccode":null,"codemeta":null}},"created_at":"2023-09-29T18:04:47.000Z","updated_at":"2025-08-15T13:07:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"c99eb67d-e210-4ac1-b5de-9126b5988248","html_url":"https://github.com/g-30/chrono_dart","commit_stats":null,"previous_names":["g-30/chrono_dart"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/g-30/chrono_dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-30%2Fchrono_dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-30%2Fchrono_dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-30%2Fchrono_dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-30%2Fchrono_dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g-30","download_url":"https://codeload.github.com/g-30/chrono_dart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-30%2Fchrono_dart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29634416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T18:02:07.722Z","status":"ssl_error","status_checked_at":"2026-02-19T18:01:46.144Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["android","dart","date-parser","date-parsing","datetime","flutter","ios"],"created_at":"2025-10-22T23:08:53.363Z","updated_at":"2026-02-19T21:50:09.633Z","avatar_url":"https://github.com/g-30.png","language":"Dart","readme":"# Chrono - Date parser for Dart (Flutter)\n\n[![pub.dev/packages/chrono_dart](https://img.shields.io/pub/v/chrono_dart.svg \"chrono_dart on pub.dev\")](https://pub.dev/packages/chrono_dart)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA natural language date parser in Dart. Finds and extracts dates from user-generated text content.\n\nExample use case – WhatsApp-like date parsing in dialogues:\n\u003cimg src=\"https://github.com/g-30/chrono_dart/assets/8287493/f148289e-1e53-4b7d-9922-c28c6f1a12e5\" height=\"290\" alt=\"chrono_dart\"\u003e\n\n\nIt is designed to handle most date/time formats and extract information from any given text:\n\n* Today, Tomorrow, Yesterday, Last Friday, etc\n* 17 August 2013 - 19 August 2013\n* This Friday from 13:00 - 16.00\n* 5 days ago\n* 2 weeks from now\n* Sat Aug 17 2013 18:40:39 GMT+0900 (JST)\n* 2014-11-30T08:15:30-05:30\n\n# Usage\n1. Install manually or via pub - `dart pub add chrono_dart`\n2. Simply pass a string to functions Chrono.parseDate or Chrono.parse.\n\n```dart\nimport 'package:chrono_dart/chrono_dart.dart' show Chrono;\n\nChrono.parseDate('An appointment on Sep 12');\n// DateTime('2023-09-12 12:00:00.000Z')\n    \nChrono.parse('An appointment on Sep 12');\n/* [\u003cParsingResult\u003e{ \n    index: 18,\n    text: 'Sep 12',\n    date() =\u003e DateTime('2023-09-12T12:00:00'),\n    ...\n}] */\n```\n\nOnly English is supported in this version. Feel free to add PRs with any other languages – the package is designed with extendability in mind.\n\n-----------\nPort of Chrono to Dart lang.\nFor extended API information see [the original package](https://github.com/wanasit/chrono/).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-30%2Fchrono_dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg-30%2Fchrono_dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-30%2Fchrono_dart/lists"}