4472020ee9
Add workaround for timezones on windows Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/api/pulls/151
776 B
776 B
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.