{"id":18982388,"url":"https://github.com/dimitrietataru/ace-csharp-time","last_synced_at":"2026-02-15T22:31:07.443Z","repository":{"id":158507639,"uuid":"598624136","full_name":"dimitrietataru/ace-csharp-time","owner":"dimitrietataru","description":"C# time","archived":false,"fork":false,"pushed_at":"2025-04-14T03:52:30.000Z","size":45,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"ace","last_synced_at":"2025-09-06T01:35:54.571Z","etag":null,"topics":["csharp","datetime","datetimeoffset","datetimeprovider","systemtime","utc"],"latest_commit_sha":null,"homepage":"","language":"C#","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/dimitrietataru.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-07T13:47:09.000Z","updated_at":"2025-04-14T03:52:34.000Z","dependencies_parsed_at":"2024-05-30T20:52:34.396Z","dependency_job_id":"74507b03-d20b-487c-9d99-8c8848afd14a","html_url":"https://github.com/dimitrietataru/ace-csharp-time","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dimitrietataru/ace-csharp-time","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrietataru%2Face-csharp-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrietataru%2Face-csharp-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrietataru%2Face-csharp-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrietataru%2Face-csharp-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimitrietataru","download_url":"https://codeload.github.com/dimitrietataru/ace-csharp-time/tar.gz/refs/heads/ace","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrietataru%2Face-csharp-time/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29490842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["csharp","datetime","datetimeoffset","datetimeprovider","systemtime","utc"],"created_at":"2024-11-08T16:13:18.796Z","updated_at":"2026-02-15T22:31:07.426Z","avatar_url":"https://github.com/dimitrietataru.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C# time\n\n[![build](https://github.com/dimitrietataru/ace-csharp-time/actions/workflows/build.yml/badge.svg)](https://github.com/dimitrietataru/ace-csharp-time/actions/workflows/build.yml)\n[![release](https://github.com/dimitrietataru/ace-csharp-time/actions/workflows/release.yml/badge.svg)](https://github.com/dimitrietataru/ace-csharp-time/actions/workflows/release.yml)\n[![NuGet](https://img.shields.io/nuget/v/AceCSharp.Time)](https://www.nuget.org/packages/AceCSharp.Time)\n\n### What is AceCSharp.Time\nIt's a library, that exposes DI-ready and mockable implementation of current date and time, or date and time with offset.\n\n### Usage\n``` csharp\nIDateTimeProvider dateTimeProvider = new DateTimeProvider();\n\nDateTime moment = dateTimeProvider.Now();\nDateTime momentInUtc = dateTimeProvider.UtcNow();\n\nDateTimeOffset momentWithOffset = dateTimeProvider.NowOffset();\nDateTimeOffset momentWithZeroOffset = dateTimeProvider.UtcNowOffset();\n```\n\n``` csharp\nISystemTime systemTime = new SystemTime();\n\nDateTime moment = systemTime.Now();\nDateTime momentInUtc = systemTime.UtcNow();\n```\n\n### License\nAceCSharp.Time is Copyright © 2022 [Dimitrie Tataru](https://github.com/dimitrietataru) and other contributors under the [MIT license](https://github.com/dimitrietataru/ace-csharp-time/blob/ace/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrietataru%2Face-csharp-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimitrietataru%2Face-csharp-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrietataru%2Face-csharp-time/lists"}