Ignore time zone declaration in filepath
Closed this issue · 1 comments
Hello @JamesClonk
I'm using your backman Docker repo on Swisscom Cloud Foundry for backing up MongoDB's.
Now I noticed that the backup filename does not use the correct time zone, which was defined when deploying the application by setting "cf set-env backman TZ Europe/Zurich".
backman uses the time zone UTC which is shown in the filename.
Is this a bug of the application or am I setting the time zone of the backmann app wrong?
Thanks for your help :)
Regards,
Flavio
Hi @meyerf99,
Thanks for the hint, it's indeed a bug.
It seems I forgot to add the tzdata
package to the Docker image, so it was not respecting (or rather simply not working with) the TZ env variable.
I just built and pushed a new image that also contains the necessary tzdata, now it should work. 😄 👍