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

raise when unable to detect name of local timezone #3576

Merged
merged 3 commits into from
Nov 26, 2019

Conversation

ltalirz
Copy link
Member

@ltalirz ltalirz commented Nov 26, 2019

fix #3563

When tzlocal is unable to detect the name of the local timezone, it
labels it as 'local', which is not understood by django.
When this happens, ask the user to set the desired timezone using the TZ
environment variable.

Todo: Open new issue to consider giving users the option to specify the desired timezone in the AiiDA profile.

When tzlocal is unable to detect the name of the local timezone, it
labels it as 'local', which is not understood by django.
When this happens, ask the user to set the desired timezone using the TZ
environment variable.
@ltalirz ltalirz requested a review from sphuber November 26, 2019 15:04
Copy link
Contributor

@sphuber sphuber left a comment

Choose a reason for hiding this comment

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

Thanks @ltalirz

@sphuber sphuber merged commit 7996439 into aiidateam:develop Nov 26, 2019
@sphuber sphuber deleted the issue_3563_invalid_timezone branch November 26, 2019 16:31
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

Successfully merging this pull request may close these issues.

profile setup fails due to invalid timezone
2 participants