gotransip
gotransip copied to clipboard
rest.Date doesn't work on minimal devices
When testing my updated version of k8s/external-dns I ran into the issue that the timezone Europe/Amsterdam could not be found. This is because the minimal image doesn't include timezone data.
At https://github.com/transip/gotransip/blob/master/rest/response.go#L46 we try to load the time in the Europe/Amsterdam zone. Are we sure the date is printed in that zone. It would be much better to have the time in UTC if that is the case.
Go 1.15 fixes this problem with this new feature right?
https://golang.org/doc/go1.15#time/tzdata
We ran into the same problem: https://github.com/kubernetes-sigs/external-dns/issues/2284
+1 I'm running into the same problem with External-Dns... making it not usable, how can this be fixed?