Add workaround for timezones on windows Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/api/pulls/151 |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| .travis.yml | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| README.md | ||
| tools.go | ||
| tz.go | ||
| zoneinfo.go | ||
tz
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 https://github.com/golang/go/issues/21881.