gotransip icon indicating copy to clipboard operation
gotransip copied to clipboard

rest.Date doesn't work on minimal devices

Open svenwiltink opened this issue 4 years ago • 3 comments

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.

svenwiltink avatar Apr 25 '20 22:04 svenwiltink

Go 1.15 fixes this problem with this new feature right?

https://golang.org/doc/go1.15#time/tzdata

vansante avatar Sep 23 '20 17:09 vansante

We ran into the same problem: https://github.com/kubernetes-sigs/external-dns/issues/2284

Jille avatar Sep 13 '21 09:09 Jille

+1 I'm running into the same problem with External-Dns... making it not usable, how can this be fixed?

SimeonPoot avatar Apr 16 '23 20:04 SimeonPoot