Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expand templates to allow specification of timezone #11

Open
b2cc opened this issue Oct 18, 2018 · 1 comment
Open

expand templates to allow specification of timezone #11

b2cc opened this issue Oct 18, 2018 · 1 comment

Comments

@b2cc
Copy link

b2cc commented Oct 18, 2018

Please excuse my nagging... I noticed that time in the suffix of the backupfiles is off since the container runs in UTC per default. Although im aware this is a rather minor nuisance it can easily be fixed by injecting the "TZ" environment variable:

spec:
  template:
    spec:
      containers:
      - env:
        - name: TZ
          value: "Europe/Berlin"

I guess this could be added to the "exports" file with a default of "UTC" if not specified otherwise.

@gerald1248
Copy link
Owner

Excellent suggestion. Happy to add. (Need to check how the base image handles time zones.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants