{"id":16611301,"url":"https://github.com/gandarez/go-olson-timezone","last_synced_at":"2025-07-20T09:40:22.124Z","repository":{"id":57647621,"uuid":"442777845","full_name":"gandarez/go-olson-timezone","owner":"gandarez","description":"A Golang library that tries to figure out your local timezone","archived":false,"fork":false,"pushed_at":"2021-12-31T23:01:11.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T14:39:10.144Z","etag":null,"topics":["go","golang","iana","olson","time","timezone","tzlocal"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gandarez.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":"2021-12-29T13:16:18.000Z","updated_at":"2022-02-16T00:55:50.000Z","dependencies_parsed_at":"2022-09-08T00:00:32.571Z","dependency_job_id":null,"html_url":"https://github.com/gandarez/go-olson-timezone","commit_stats":null,"previous_names":["gandarez/go-timezone"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gandarez%2Fgo-olson-timezone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gandarez%2Fgo-olson-timezone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gandarez%2Fgo-olson-timezone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gandarez%2Fgo-olson-timezone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gandarez","download_url":"https://codeload.github.com/gandarez/go-olson-timezone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242901319,"owners_count":20203919,"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":["go","golang","iana","olson","time","timezone","tzlocal"],"created_at":"2024-10-12T01:36:35.057Z","updated_at":"2025-03-10T18:26:27.369Z","avatar_url":"https://github.com/gandarez.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-olson-timezone\n\n[![Tests](https://img.shields.io/github/workflow/status/gandarez/go-olson-timezone/Tests/master?label=tests)](https://github.com/gandarez/go-olson-timezone/actions)\n[![codecov](https://codecov.io/gh/gandarez/go-olson-timezone/branch/master/graph/badge.svg?token=ATAVS1K1CV)](https://codecov.io/gh/gandarez/go-olson-timezone)\n[![Go Reference](https://pkg.go.dev/badge/github.com/gandarez/go-olson-timezone.svg)](https://pkg.go.dev/github.com/gandarez/go-olson-timezone)\n\nA Golang library that tries to figure out your local timezone.\n\n\u003e This lib has been ported from [tzlocal](https://github.com/regebro/tzlocal) with some improvements for Go.\n\n## Installation\n\n```bash\ngo get -u github.com/gandarez/go-olson-timezone\n```\n\n## Features\n\n* Always try to parse `TZ` environment variable if present.\n* For Unix based systems (_including macOS_), timezone may be parsed from:\n  * `/etc/timezone`\n  * `/var/db/zoneinfo`\n  * `/etc/sysconfig/clock`\n  * `/etc/conf.d/clock`\n  * `/etc/localtime`\n* For windows, timezone will be discovered at registry key `SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgandarez%2Fgo-olson-timezone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgandarez%2Fgo-olson-timezone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgandarez%2Fgo-olson-timezone/lists"}