{"id":17238232,"url":"https://github.com/evyatarmeged/date-parser","last_synced_at":"2025-04-14T02:29:35.029Z","repository":{"id":62566893,"uuid":"97491153","full_name":"evyatarmeged/date-parser","owner":"evyatarmeged","description":"Parsing date strings into a datetime object","archived":false,"fork":false,"pushed_at":"2017-12-09T11:18:35.000Z","size":23,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T02:29:29.983Z","etag":null,"topics":["dateparser","parsing","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/evyatarmeged.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-17T15:22:03.000Z","updated_at":"2024-05-31T17:25:54.000Z","dependencies_parsed_at":"2022-11-03T16:16:02.228Z","dependency_job_id":null,"html_url":"https://github.com/evyatarmeged/date-parser","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evyatarmeged%2Fdate-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evyatarmeged%2Fdate-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evyatarmeged%2Fdate-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evyatarmeged%2Fdate-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evyatarmeged","download_url":"https://codeload.github.com/evyatarmeged/date-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248810808,"owners_count":21165187,"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":["dateparser","parsing","python"],"created_at":"2024-10-15T05:44:58.909Z","updated_at":"2025-04-14T02:29:34.994Z","avatar_url":"https://github.com/evyatarmeged.png","language":"Python","readme":"# Date-parser\nParse different date strings into datetime objects.\n\n#### Installation\n`pip3 install date-parser`\n\n#### Usage\n\n```\nfrom date_parser.parser import DateParser\ndp = DateParser()\n```\nNatural language\n```\ndp.parse_date('September 24th 1929')\n\u003e\u003e datetime.datetime(1929, 9, 24, 0, 0)\n```\nNatural language - shortened month\n```\ndp.parse_date('Jan 14th 1999')\n\u003e\u003e datetime.datetime(1999, 1, 14, 0, 0, 0)\n```\nHyphens\n```\ndp.parse_date('01-01-2017')\n\u003e\u003e datetime.datetime(2017, 1, 1, 0, 0)\n```\nDots\n\n```\ndp.parse_date('19.11.1984')\n\u003e\u003e datetime.datetime(1984, 11, 19, 0, 0, 0)\n```\nForward slash\n```\ndp.parse_date('30/09/1542)\n\u003e\u003e datetime.datetime(1542, 9, 30, 0, 0, 0)\n\n```\nAnother natural language example\n```\nprint(dp.parse_date('On 2012, I believe it was May 19th, Chelsea won the Champions League.'))\n\u003e\u003e 2012-05-19 00:00:00\n\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevyatarmeged%2Fdate-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevyatarmeged%2Fdate-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevyatarmeged%2Fdate-parser/lists"}