{"id":13580138,"url":"https://github.com/ad-si/tu","last_synced_at":"2025-04-05T11:10:54.103Z","repository":{"id":228055298,"uuid":"773020971","full_name":"ad-si/tu","owner":"ad-si","description":"CLI tool to convert a natural language date/time string to UTC","archived":false,"fork":false,"pushed_at":"2024-04-12T10:17:50.000Z","size":26,"stargazers_count":237,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T10:06:29.489Z","etag":null,"topics":["cli","cli-tool","date","datetime","iso8601","rfc3339","rust","time","utc"],"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/ad-si.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":"2024-03-16T14:23:42.000Z","updated_at":"2025-03-22T08:13:14.000Z","dependencies_parsed_at":"2024-03-16T19:50:57.528Z","dependency_job_id":"d2727642-adc2-4e46-b50e-a649358578b9","html_url":"https://github.com/ad-si/tu","commit_stats":null,"previous_names":["ad-si/tu"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2Ftu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2Ftu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2Ftu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2Ftu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ad-si","download_url":"https://codeload.github.com/ad-si/tu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247061881,"owners_count":20877176,"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","cli-tool","date","datetime","iso8601","rfc3339","rust","time","utc"],"created_at":"2024-08-01T15:01:47.914Z","updated_at":"2025-04-05T11:10:54.053Z","avatar_url":"https://github.com/ad-si.png","language":"Rust","readme":"# `tu`\n\nCLI tool to convert a natural language date/time **t**o **U**TC.\n\n\n## Installation\n\n```sh\ncargo install tu\n```\n\n\n## Usage\n\n```txt\nUsage: tu \u003cnatural time/duration\u003e\n\nExamples:\n  tu today      -\u003e 2024-03-16T12:56:41.905455Z\n  tu tomorrow   -\u003e 2024-03-17T12:56:41.905455Z\n  tu 2 day      -\u003e 2024-03-18T12:56:41.905455Z\n  tu 9 week     -\u003e 2024-05-18T12:56:41.905455Z\n  tu 1 month    -\u003e 2024-04-16T00:00:00Z\n\n  tu 2024-04-10T13:31:46+04:00     -\u003e 2024-04-10T09:31:46Z\n  tu Wed, 14 Feb 2024 23:16:09 GMT -\u003e 2024-02-14T23:16:09Z\n```\n\nThis is especially useful in combination with other tools like [TaskLite]:\n\n```bash\n# Bash\ntasklite add \"Buy bike\" due:$(tu 2 week)\n```\n\n```fish\n# Fish\ntasklite add \"Buy bike\" due:(tu 2 week)\n```\n\n[TaskLite]: https://tasklite.org\n\n\n## Related\n\n- [`when`] - Timezone CLI tool.\n- [utcify.ad-si.com] - Web tool to convert local-time strings to UTC.\n- [`fuzzy-time`] - Haskell package for parsing fuzzy time strings.\n\n[`when`]: https://github.com/mitsuhiko/when\n[utcify.ad-si.com]: https://utcify.ad-si.com\n[`fuzzy-time`]: https://github.com/NorfairKing/fuzzy-time\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fad-si%2Ftu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fad-si%2Ftu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fad-si%2Ftu/lists"}