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

Configure timezone automatically #108

Merged
merged 3 commits into from
Jun 9, 2022
Merged

Configure timezone automatically #108

merged 3 commits into from
Jun 9, 2022

Conversation

felipecrs
Copy link
Contributor

Proposed Changes

Properly configure the timezone for the container on the addon startup.

Some applications seems to rely on TZ environment variable, which gets automatically injected by the HA Supervisor into the container.

However, some other applications rely on /etc/localtime or /etc/timezone, which is what this PR fixes.

Related Issues

Fixes TECH7Fox/asterisk-hass-addons#115

@github-actions
Copy link

There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions.

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Apr 17, 2022
@github-actions github-actions bot closed this Apr 25, 2022
@frenck frenck reopened this Apr 25, 2022
@frenck
Copy link
Member

frenck commented Apr 25, 2022

Don't stale, awaiting a shipment of time

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Apr 26, 2022
@github-actions
Copy link

There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions.

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label May 26, 2022
@github-actions github-actions bot closed this Jun 3, 2022
@frenck frenck reopened this Jun 3, 2022
@frenck frenck added no-stale This issue or PR is exempted from the stable bot. and removed stale There has not been activity on this issue or PR for quite some time. labels Jun 3, 2022
@frenck frenck added the bugfix Inconsistencies or issues which will cause a problem for users or implementors. label Jun 9, 2022
@frenck frenck removed the no-stale This issue or PR is exempted from the stable bot. label Jun 9, 2022
Copy link
Member

@frenck frenck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @felipecrs 👍

@frenck frenck merged commit 4ace9ff into hassio-addons:main Jun 9, 2022
@felipecrs felipecrs deleted the timezone branch June 9, 2022 12:05
@github-actions github-actions bot locked and limited conversation to collaborators Jun 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bugfix Inconsistencies or issues which will cause a problem for users or implementors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Logs are always displayed in UTC
2 participants