{"id":16876406,"url":"https://github.com/staktrace/datetimeutils","last_synced_at":"2025-03-19T04:43:22.588Z","repository":{"id":57616474,"uuid":"237679646","full_name":"staktrace/datetimeutils","owner":"staktrace","description":"A zero-dependency crate with some date/time/calendar utilities","archived":false,"fork":false,"pushed_at":"2022-06-26T23:52:47.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T03:44:27.865Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/staktrace.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}},"created_at":"2020-02-01T21:21:58.000Z","updated_at":"2023-07-25T14:32:33.000Z","dependencies_parsed_at":"2022-08-27T08:21:38.065Z","dependency_job_id":null,"html_url":"https://github.com/staktrace/datetimeutils","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staktrace%2Fdatetimeutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staktrace%2Fdatetimeutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staktrace%2Fdatetimeutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staktrace%2Fdatetimeutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staktrace","download_url":"https://codeload.github.com/staktrace/datetimeutils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244358337,"owners_count":20440355,"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":"2024-10-13T15:39:20.941Z","updated_at":"2025-03-19T04:43:22.548Z","avatar_url":"https://github.com/staktrace.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"datetimeutils\n=============\n![Build Status](https://github.com/staktrace/datetimeutils/actions/workflows/test.yml/badge.svg)\n[![Crate](https://img.shields.io/crates/v/datetimeutils.svg)](https://crates.io/crates/datetimeutils)\n\nA handful of utility functions for dealing with `std::time::SystemTime` in somewhat-useful ways.\nIf you need handling for timezones, look elsewhere. This crate only deals with simple stuff.\nThe main attraction is that it has zero external dependencies, so if it does what you want, it's lighter-weight than using `chrono` or `time`.\n\nAPI\n---\nThere's a bunch of public functions in the crate to do basic datetime stuff such as find the number of days in a particular year or index months.\nAlso there's a struct `PostEpochTime` which effectively wraps a `std::time::SystemTime` but can provide human-readable date/time values from it.\nSee full rustdoc at [https://docs.rs/datetimeutils](https://docs.rs/datetimeutils).\n\nExamples\n--------\nSee files in the `examples/` folder for quick examples.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaktrace%2Fdatetimeutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaktrace%2Fdatetimeutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaktrace%2Fdatetimeutils/lists"}