{"id":24408037,"url":"https://github.com/dathere/qsv-dateparser","last_synced_at":"2025-12-12T14:34:26.327Z","repository":{"id":225641629,"uuid":"766499799","full_name":"dathere/qsv-dateparser","owner":"dathere","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-01T17:50:44.000Z","size":41,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-08T17:02:26.636Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/dathere.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-03T12:48:01.000Z","updated_at":"2024-12-01T17:49:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"8cf80b76-5891-43b8-8e28-d568d05ded7b","html_url":"https://github.com/dathere/qsv-dateparser","commit_stats":null,"previous_names":["jqnatividad/qsv-dateparser","dathere/qsv-dateparser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dathere%2Fqsv-dateparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dathere%2Fqsv-dateparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dathere%2Fqsv-dateparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dathere%2Fqsv-dateparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dathere","download_url":"https://codeload.github.com/dathere/qsv-dateparser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243374209,"owners_count":20280656,"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":[],"created_at":"2025-01-20T05:32:58.043Z","updated_at":"2025-12-12T14:34:21.260Z","avatar_url":"https://github.com/dathere.png","language":"Rust","readme":"# qsv-dateparser\n\nA rust library for parsing date strings in commonly used formats. Parsed date will be returned as `chrono`'s\n`DateTime\u003cUtc\u003e`.\n\nThis is a fork of Rollie Ma's [dateparser](https://github.com/waltzofpearls/belt/tree/main/dateparser), specifically published to support [qsv](https://github.com/jqnatividad/qsv).\nIt supports a subset of date formats supported by dateparser, skipping more obscure formats, primarily\nfor performance.\nIt also adds support for parsing dates in DMY format, with the `parse_with_preference` function.\n\n## Accepted date formats\n```rust\n// unix timestamp\n\"1511648546\",\n\"1620021848429\",\n\"1620024872717915000\",\n\"0\",\n\"-770172300\",\n\"1671673426.123456789\",\n// rfc3339\n\"2021-05-01T01:17:02.604456Z\",\n\"2017-11-25T22:34:50Z\",\n// rfc2822\n\"Wed, 02 Jun 2021 06:31:39 GMT\",\n// yyyy-mm-dd hh:mm:ss\n\"2014-04-26 05:24:37 PM\",\n\"2021-04-30 21:14\",\n\"2021-04-30 21:14:10\",\n\"2021-04-30 21:14:10.052282\",\n\"2014-04-26 17:24:37.123\",\n\"2014-04-26 17:24:37.3186369\",\n\"2012-08-03 18:31:59.257000000\",\n// yyyy-mm-dd hh:mm:ss z\n\"2017-11-25 13:31:15 PST\",\n\"2017-11-25 13:31 PST\",\n\"2014-12-16 06:20:00 UTC\",\n\"2014-12-16 06:20:00 GMT\",\n\"2014-04-26 13:13:43 +0800\",\n\"2014-04-26 13:13:44 +09:00\",\n\"2012-08-03 18:31:59.257000000 +0000\",\n\"2015-09-30 18:48:56.35272715 UTC\",\n// yyyy-mm-dd\n\"2021-02-21\",\n// yyyy-mm-dd z\n\"2021-02-21 PST\",\n\"2021-02-21 UTC\",\n\"2020-07-20+08:00\",\n// Mon dd, yyyy, hh:mm:ss\n\"May 8, 2009 5:57:51 PM\",\n\"September 17, 2012 10:09am\",\n\"September 17, 2012, 10:10:09\",\n// Mon dd, yyyy hh:mm:ss z\n\"May 02, 2021 15:51:31 UTC\",\n\"May 02, 2021 15:51 UTC\",\n\"May 26, 2021, 12:49 AM PDT\",\n\"September 17, 2012 at 10:09am PST\",\n// yyyy-mon-dd\n\"2021-Feb-21\",\n// Mon dd, yyyy\n\"May 25, 2021\",\n\"oct 7, 1970\",\n\"oct 7, 70\",\n\"oct. 7, 1970\",\n\"oct. 7, 70\",\n\"October 7, 1970\",\n// dd Mon yyyy hh:mm:ss\n\"12 Feb 2006, 19:17\",\n\"12 Feb 2006 19:17\",\n\"14 May 2019 19:11:40.164\",\n// dd Mon yyyy\n\"7 oct 70\",\n\"7 oct 1970\",\n\"03 February 2013\",\n\"1 July 2013\",\n// mm/dd/yyyy hh:mm:ss\n\"4/8/2014 22:05\",\n\"04/08/2014 22:05\",\n\"4/8/14 22:05\",\n\"04/2/2014 03:00:51\",\n\"8/8/1965 12:00:00 AM\",\n\"8/8/1965 01:00:01 PM\",\n\"8/8/1965 01:00 PM\",\n\"8/8/1965 1:00 PM\",\n\"8/8/1965 12:00 AM\",\n\"4/02/2014 03:00:51\",\n\"03/19/2012 10:11:59\",\n\"03/19/2012 10:11:59.3186369\",\n// mm/dd/yyyy\n\"3/31/2014\",\n\"03/31/2014\",\n\"08/21/71\",\n\"8/1/71\",\n// yyyy/mm/dd hh:mm:ss\n\"2014/4/8 22:05\",\n\"2014/04/08 22:05\",\n\"2014/04/2 03:00:51\",\n\"2014/4/02 03:00:51\",\n\"2012/03/19 10:11:59\",\n\"2012/03/19 10:11:59.3186369\",\n// yyyy/mm/dd\n\"2014/3/31\",\n\"2014/03/31\",\n// dd/mm/yyyy\n\"31/12/2020\",\n\"12/10/2019\",\n\"03/06/2018\",\n\"27/06/68\",\n// dd/mm/yyyy hh:mm:ss\n\"4/8/2014 22:05\",\n\"04/08/2014 22:05\",\n\"4/8/14 22:05\",\n\"04/2/2014 03:00:51\",\n\"8/8/1965 12:00:00 AM\",\n\"8/8/1965 01:00:01 PM\",\n\"8/8/1965 01:00 PM\",\n\"31/12/22 15:00\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdathere%2Fqsv-dateparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdathere%2Fqsv-dateparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdathere%2Fqsv-dateparser/lists"}