{"id":17718330,"url":"https://github.com/fabiang/dateparser","last_synced_at":"2025-03-14T03:32:18.281Z","repository":{"id":62503425,"uuid":"98339866","full_name":"fabiang/dateparser","owner":"fabiang","description":"Date parsing library supporting the full format RFC3339","archived":false,"fork":false,"pushed_at":"2024-01-24T13:13:33.000Z","size":69,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2024-04-25T11:43:29.652Z","etag":null,"topics":["date","dateparser","datetime","parser","php","rfc3339"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/fabiang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-07-25T18:54:54.000Z","updated_at":"2022-06-20T10:42:43.000Z","dependencies_parsed_at":"2024-10-25T18:28:26.200Z","dependency_job_id":null,"html_url":"https://github.com/fabiang/dateparser","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiang%2Fdateparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiang%2Fdateparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiang%2Fdateparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiang%2Fdateparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiang","download_url":"https://codeload.github.com/fabiang/dateparser/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243520608,"owners_count":20304173,"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":["date","dateparser","datetime","parser","php","rfc3339"],"created_at":"2024-10-25T14:44:49.756Z","updated_at":"2025-03-14T03:32:18.272Z","avatar_url":"https://github.com/fabiang.png","language":"PHP","readme":"# fabiang/dateparser\n\nDate parsing library supporting the full format RFC3339. The following formats are supported:\n\n```\n2017-07-25T18:37:40\n2017-07-25T18:37:40.1234567890\n2017-07-25T18:37:40.1234567890Z\n2017-07-25T18:37:40Z\n2017-07-25T18:37:40.1234567890+0200\n2017-07-25T18:37:40+0200\n2017-07-25T18:37:40.1234567890-0400\n2017-07-25T18:37:40-0400\n2017-07-25T18:37:40.1234567890+02:00\n2017-07-25T18:37:40+02:00\n2017-07-25T18:37:40.1234567890-04:00\n```\n\n**Note:** PHP only supports 6 digit microseconds. This library cut the last digits off.\n\n[![PHP Version Require](https://poser.pugx.org/fabiang/dateparser/require/php)](https://packagist.org/packages/fabiang/dateparser)\n[![Latest Stable Version](https://poser.pugx.org/fabiang/dateparser/v)](https://packagist.org/packages/fabiang/dateparser)\n[![License](https://poser.pugx.org/fabiang/dateparser/license)](https://packagist.org/packages/fabiang/dateparser)  \n[![Continuous Integration](https://github.com/fabiang/dateparser/actions/workflows/ci.yml/badge.svg)](https://github.com/fabiang/dateparser/actions/workflows/ci.yml)\n\n## Installation\n\nRun Composer with:\n\n```\ncomposer require fabiang/dateparser\n```\n\n## Usage\n\nParsing an RFC3339 datetime string:\n\n```php\nuse Fabiang\\Dateparser\\RFC3339;\n\n$parser = new RFC3339();\n$datetime = $parser-\u003eparse('2017-07-25T18:37:40+02:00'); // DateTime object\n```\n\n## Licence\n\nBSD-2-Clause. See the [LICENSE.md](LICENSE.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiang%2Fdateparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiang%2Fdateparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiang%2Fdateparser/lists"}