{"id":41594659,"url":"https://github.com/go-x-pkg/iso8601","last_synced_at":"2026-01-24T09:37:17.682Z","repository":{"id":57602858,"uuid":"226101540","full_name":"go-x-pkg/iso8601","owner":"go-x-pkg","description":"ISO8601 date and time parser and formatter","archived":false,"fork":false,"pushed_at":"2023-12-15T08:21:36.000Z","size":6,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-10T23:32:08.465Z","etag":null,"topics":["duration","iso8601","mpd","mpeg-dash"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/go-x-pkg.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}},"created_at":"2019-12-05T12:51:21.000Z","updated_at":"2023-04-26T13:59:07.000Z","dependencies_parsed_at":"2024-06-20T02:48:20.471Z","dependency_job_id":null,"html_url":"https://github.com/go-x-pkg/iso8601","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/go-x-pkg/iso8601","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-x-pkg%2Fiso8601","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-x-pkg%2Fiso8601/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-x-pkg%2Fiso8601/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-x-pkg%2Fiso8601/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-x-pkg","download_url":"https://codeload.github.com/go-x-pkg/iso8601/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-x-pkg%2Fiso8601/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28723542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["duration","iso8601","mpd","mpeg-dash"],"created_at":"2026-01-24T09:37:17.120Z","updated_at":"2026-01-24T09:37:17.677Z","avatar_url":"https://github.com/go-x-pkg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iso8601\n\n[![GoDoc][godoc-image]][godoc-url]\n[![Build Status][build-image]][build-url]\n[![Coverage Status][coverage-image]][coverage-url]\n[![Go Report Card][goreport-image]][goreport-url]\n\nISO8601 date, time, duration parser and formatter.\n\nISO8601 is format of time/duration in MPEG-DASH .MPD files. See [stackoverflow](https://stackoverflow.com/questions/23800812/the-format-of-time-duration-in-mpeg-dash-mpd-file).\n\n```go\npackage main\n\nimport (\n  \"fmt\"\n  \"time\"\n\n  \"github.com/go-x-pkg/iso8601\"\n)\n\nfunc main() {\n  // PT3M15S\n  fmt.Println(iso8601.Duration(3*time.Minute + 15*time.Second))\n}\n```\n\n```\nPT0.1S\nPT1M6.762S\nPT20S\nPT3M15S\nPT3M15S\nP6DT4H54M18S\nP12W6DT4H54M43S\nP2Y12W6DT4H54M18S\nP6D\nP2Y\nPT3M\n```\n\n[godoc-image]: https://godoc.org/github.com/go-x-pkg/iso8601?status.svg\n[godoc-url]: https://godoc.org/github.com/go-x-pkg/iso8601\n\n[build-image]: https://travis-ci.org/go-x-pkg/iso8601.svg?branch=master\n[build-url]: https://travis-ci.org/go-x-pkg/iso8601\n\n[coverage-image]: https://coveralls.io/repos/github/go-x-pkg/iso8601/badge.svg?branch=master\n[coverage-url]: https://coveralls.io/github/go-x-pkg/iso8601?branch=master\n\n[goreport-image]: https://goreportcard.com/badge/github.com/go-x-pkg/iso8601\n[goreport-url]: https://goreportcard.com/report/github.com/go-x-pkg/iso8601\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-x-pkg%2Fiso8601","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-x-pkg%2Fiso8601","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-x-pkg%2Fiso8601/lists"}