/go-tz

Go package to predictably load time.Locations regardless of operating system.

Primary LanguageGoOtherNOASSERTION

tz

Build Status Codecov Go Report Card Go docs

Predictably load time.Locations regardless of operating system.

import "4d63.com/tz"
loc, err := tz.LoadLocation("Australia/Sydney")

Docs and examples at https://godoc.org/4d63.com/tz.

This package exists because of golang/go#21881.