-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Changing Timezone parameters #390
Comments
Some more info: when you use a slash in the GITLAB_TIMEZONE, you'll get the following error: Problem occurs because the slash isnt escaped before passing it on to sed. No problem with me to use another timezone notation, but would be good to document about allowed timezone notations (took some time locating the error) |
@LaurensRietveld Its already documented in https://github.com/sameersbn/docker-gitlab#available-configuration-parameters |
How I interpreted that page was that |
You should use the mapping key. So if you want to set the rails timezone as |
For central time i have found "Central Time (US & Canada)" => "America/Chicago". Using the key leads to an error: "ArgumentError: Invalid Timezone: "Central Time (US {{GITLAB_TIMEZONE}} Canada)" |
I'm having basically the same issue as @umputun. I'm trying to use |
The |
Ran into this today - may be something worth adding to the 'Upgrade' portion of the readme? |
these changes are logged in #39 |
@sameersbn Awesome, I hadn't seen that - thanks! |
Changing timezone parameters was rather difficult. If you do it wrong, the gitlab container won't come up and there isn't much of an error. Could be mitigated with a bit better documentation. For example, to convert to Eastern standard time:
TZ=Asia/Kolkata -> TZ=America/New_York
GITLAB_TIMEZONE=Kolkata -> GITLAB_TIMEZONE=EST
The text was updated successfully, but these errors were encountered: