{"id":37226193,"url":"https://github.com/gomodules/date","last_synced_at":"2026-01-15T01:53:11.865Z","repository":{"id":57549250,"uuid":"305955745","full_name":"gomodules/date","owner":"gomodules","description":"A Go package for working with dates","archived":false,"fork":true,"pushed_at":"2021-02-16T00:47:44.000Z","size":361,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T13:36:03.295Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/rickb777/date","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"rickb777/date","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gomodules.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}},"created_at":"2020-10-21T08:19:30.000Z","updated_at":"2024-06-20T13:36:03.296Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gomodules/date","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/gomodules/date","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomodules%2Fdate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomodules%2Fdate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomodules%2Fdate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomodules%2Fdate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gomodules","download_url":"https://codeload.github.com/gomodules/date/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomodules%2Fdate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"ssl_error","status_checked_at":"2026-01-15T00:55:20.945Z","response_time":107,"last_error":"SSL_read: 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":[],"created_at":"2026-01-15T01:53:11.223Z","updated_at":"2026-01-15T01:53:11.858Z","avatar_url":"https://github.com/gomodules.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# date\n\n[![GoDoc](https://img.shields.io/badge/api-Godoc-blue.svg)](https://pkg.go.dev/github.com/rickb777/date)\n[![Build Status](https://api.travis-ci.org/rickb777/date.svg?branch=master)](https://travis-ci.org/rickb777/date/builds)\n[![Coverage Status](https://coveralls.io/repos/rickb777/date/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/rickb777/date?branch=master)\n[![Go Report Card](https://goreportcard.com/badge/github.com/rickb777/date)](https://goreportcard.com/report/github.com/rickb777/date)\n[![Issues](https://img.shields.io/github/issues/rickb777/date.svg)](https://github.com/rickb777/date/issues)\n\nPackage `date` provides functionality for working with dates.\n\nThis package introduces a light-weight `Date` type that is storage-efficient\nand convenient for calendrical calculations and date parsing and formatting\n(including years outside the [0,9999] interval).\n\nIt also provides\n\n * `clock.Clock` which expresses a wall-clock style hours-minutes-seconds with millisecond precision.\n * `period.Period` which expresses a period corresponding to the ISO-8601 form (e.g. \"PT30S\").\n * `timespan.DateRange` which expresses a period between two dates.\n * `timespan.TimeSpan` which expresses a duration of time between two instants.\n * `view.VDate` which wraps `Date` for use in templates etc.\n\nSee [package documentation](https://godoc.org/github.com/rickb777/date) for\nfull documentation and examples.\n\n## Installation\n\n    go get -u github.com/rickb777/date\n\nor\n\n    dep ensure -add github.com/rickb777/date\n\n## Status\n\nThis library has been in reliable production use for some time. Versioning follows the well-known semantic version pattern.\n\n## Credits\n\nThis package follows very closely the design of package\n[`time`](http://golang.org/pkg/time/) in the standard library;\nmany of the `Date` methods are implemented using the corresponding methods\nof the `time.Time` type and much of the documentation is copied directly\nfrom that package.\n\nThe original [Good Work](https://github.com/fxtlabs/date) on which this was\nbased was done by Filippo Tampieri at Fxtlabs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgomodules%2Fdate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgomodules%2Fdate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgomodules%2Fdate/lists"}