{"id":19045459,"url":"https://github.com/marirs/datetime-parse-rs","last_synced_at":"2025-11-12T03:01:56.490Z","repository":{"id":84060887,"uuid":"370073910","full_name":"marirs/datetime-parse-rs","owner":"marirs","description":"A DateTime parser for various date/time combinations","archived":false,"fork":false,"pushed_at":"2023-08-17T07:20:12.000Z","size":37,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-25T14:59:01.277Z","etag":null,"topics":["chrono","datetime","normalize","parser","rust","rust-crate","rust-lang","rust-library"],"latest_commit_sha":null,"homepage":"","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/marirs.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":"2021-05-23T14:26:32.000Z","updated_at":"2023-01-30T17:40:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a5325f1-af14-47b6-a6ff-7972957fbd6f","html_url":"https://github.com/marirs/datetime-parse-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marirs/datetime-parse-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fdatetime-parse-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fdatetime-parse-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fdatetime-parse-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fdatetime-parse-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marirs","download_url":"https://codeload.github.com/marirs/datetime-parse-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fdatetime-parse-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283966764,"owners_count":26924587,"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","status":"online","status_checked_at":"2025-11-12T02:00:06.336Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["chrono","datetime","normalize","parser","rust","rust-crate","rust-lang","rust-library"],"created_at":"2024-11-08T22:50:16.265Z","updated_at":"2025-11-12T03:01:56.471Z","avatar_url":"https://github.com/marirs.png","language":"Rust","readme":"Date Time parser\n=================\n![Crates.io](https://img.shields.io/crates/v/datetime_parse?style=for-the-badge)\n![Travis (.org) branch](https://img.shields.io/travis/marirs/datetime-parse-rs/main?style=for-the-badge)\n![GitHub](https://img.shields.io/github/license/marirs/datetime-parse-rs?style=for-the-badge)\n\nParse various different date/time formats to a standard RFC 3339 format as chrono DateTime FixedOffset.\n\n*Note*\n- If date/time does \u003cu\u003eNOT\u003c/u\u003e have `year`; `current year` is added\n- if date/time does \u003cu\u003eNOT\u003c/u\u003e have `time-zone` info; `Local time-zone info` is added\n\nSome example dates are\u003ca href=\"https://raw.githubusercontent.com/marirs/datetime-parse-rs/main/examples/dates.txt\" target=\"_blank\"\u003e seen here!\u003c/a\u003e  \n\n### Usage\n```toml\n[dependencies]\ndatetime_parser = \"0.0.1-beta.10\"\n```\n\nand\n\n```rust\nuse datetime_parse::DateTimeFixedOffset;\n\nfn main() {\n    let date_str = \"Mon, 6 Jul 1970 15:30:00 PDT\";\n    let result = date_str.parse::\u003cDateTimeFixedOffset\u003e();\n    assert!(result.is_ok());\n    match result {\n        Ok(parsed) =\u003e println!(\"{} =\u003e {:?}\", date_str, parsed.0),\n        Err(e) =\u003e println!(\"Error: {}\", e)\n    }\n}\n```\n\n### Running the example\n```bash\ncargo run --example parse\n```\n\n### Requirements\n\n- Rust 1.51+\n\n### Contribution\n\nFeel free to add more formats that you see, which is not present in the library.\n\n---\nLicense: MIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarirs%2Fdatetime-parse-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarirs%2Fdatetime-parse-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarirs%2Fdatetime-parse-rs/lists"}