{"id":20563917,"url":"https://github.com/mesalilac/date-diff","last_synced_at":"2025-07-06T20:07:41.799Z","repository":{"id":121639229,"uuid":"487702740","full_name":"mesalilac/date-diff","owner":"mesalilac","description":"Command line tool to calculate the difference between two dates","archived":false,"fork":false,"pushed_at":"2022-05-02T05:08:32.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T20:07:40.920Z","etag":null,"topics":["cli","date","date-difference","datetime","rust","rust-cli","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mesalilac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-05-02T03:14:04.000Z","updated_at":"2023-02-15T21:48:15.000Z","dependencies_parsed_at":"2023-05-12T21:30:38.344Z","dependency_job_id":null,"html_url":"https://github.com/mesalilac/date-diff","commit_stats":null,"previous_names":["mesabytes/date-diff","mesalilac/date-diff"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mesalilac/date-diff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesalilac%2Fdate-diff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesalilac%2Fdate-diff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesalilac%2Fdate-diff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesalilac%2Fdate-diff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mesalilac","download_url":"https://codeload.github.com/mesalilac/date-diff/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesalilac%2Fdate-diff/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263966168,"owners_count":23536814,"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":["cli","date","date-difference","datetime","rust","rust-cli","rust-lang"],"created_at":"2024-11-16T04:22:21.646Z","updated_at":"2025-07-06T20:07:41.785Z","avatar_url":"https://github.com/mesalilac.png","language":"Rust","readme":"# date-diff\n\nCommand line tool to calculate the difference between two dates\n\n## Install\n\n```\ngit clone\ncd date-diff\ncargo install --path .\n```\n\n## Usage\n\n```\n$ date-diff 1970-1-1 2022-5-2\n```\n\noutput\n\n```\nyears: 52, months: 627, weeks: 2730, days: 19114, hours: 458736, minutes: 27524160, seconds: 1651449600\n```\n\n### Help\n\n```\nCalculate the difference between two dates\n\nUSAGE:\n    date-diff [OPTIONS] \u003cSTART_DATE\u003e \u003cEND_DATE\u003e\n\nARGS:\n    \u003cSTART_DATE\u003e    Date formats: yyyy-mm-dd or yyyy/mm/dd\n    \u003cEND_DATE\u003e      Date formats: yyyy-mm-dd or yyyy/mm/dd\n\nOPTIONS:\n    -d, --days\n    -h, --hours\n        --help       Print help information\n    -m, --months\n    -M, --minutes\n    -s, --seconds\n    -V, --version    Print version information\n    -w, --weeks\n\n```\n\n## todo\n\n- [ ] Code clean up\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesalilac%2Fdate-diff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmesalilac%2Fdate-diff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesalilac%2Fdate-diff/lists"}