{"id":25014337,"url":"https://github.com/gregoryv/uptime","last_synced_at":"2025-03-30T05:13:20.021Z","repository":{"id":207048644,"uuid":"718306908","full_name":"gregoryv/uptime","owner":"gregoryv","description":"Package uptime provides an easy textual representation of long durations.","archived":false,"fork":false,"pushed_at":"2023-11-18T09:53:24.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T07:19:34.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/gregoryv.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}},"created_at":"2023-11-13T20:14:23.000Z","updated_at":"2023-11-13T20:22:01.000Z","dependencies_parsed_at":"2023-11-17T00:08:57.879Z","dependency_job_id":null,"html_url":"https://github.com/gregoryv/uptime","commit_stats":null,"previous_names":["gregoryv/uptime"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Fuptime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Fuptime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Fuptime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregoryv%2Fuptime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregoryv","download_url":"https://codeload.github.com/gregoryv/uptime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246277360,"owners_count":20751549,"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":"2025-02-05T07:19:07.594Z","updated_at":"2025-03-30T05:13:19.999Z","avatar_url":"https://github.com/gregoryv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Package [uptime](https://pkg.go.dev/github.com/gregoryv/uptime) \nprovides an easy textual representation of long durations.\n\n## Quick start\n\n    $ go get -u github.com/gregoryv/uptime\n\n\nExample\n\n    a := time.Date(1821, 1, 01, 12, 00, 00, 0, time.UTC)\n    b := time.Date(2022, 3, 07, 16, 00, 00, 0, time.UTC)\n    fmt.Println(uptime.Approximate(b.Sub(a)))\n    fmt.Println(uptime.Between(a, b))\n    // output:\n    // 201 years 3 months 24 days 4 hours\n    // 201 years 2 months 6 days 4 hours\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoryv%2Fuptime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregoryv%2Fuptime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregoryv%2Fuptime/lists"}