Add workaround for timezones on windows Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/api/pulls/151
19 lines
776 B
Markdown
19 lines
776 B
Markdown
# tz
|
|
[](https://travis-ci.org/leighmcculloch/go-tz)
|
|
[](https://codecov.io/gh/leighmcculloch/go-tz)
|
|
[](https://goreportcard.com/report/github.com/leighmcculloch/go-tz)
|
|
[](https://godoc.org/4d63.com/tz)
|
|
|
|
Predictably load `time.Location`s 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.
|