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

Adds comments for setting up timezone in application.yml #2635

Merged
merged 2 commits into from
Sep 8, 2018

Conversation

apoc64
Copy link
Contributor

@apoc64 apoc64 commented Sep 2, 2018

What? Why?

This adds comments to the application.yml.example file for correctly setting up the timezone locally.

Closes #[the issue number this PR is related to] N/A

The time zone used must match the OS time zone to pass tests. Figuring out how to set this correctly took unnecessary time.

What should we test?

This change made no changes to executed code. All current tests are passing.

Release notes

Added time zone comments to application.yml.example

Changelog Category: Added |

@@ -4,6 +4,7 @@
# Minimum 30 but usually 128 characters. To obtain run 'rake secret', or faster, 'openssl rand -hex 128'
SECRET_TOKEN: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# Time zone must match the operating system time zone in order to pass all tests. This is a string which is the key for the MAPPING hash constant in the ActiveSupport::TimeZone class. Documentation for this class including the entire hash can be found here: https://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please wrap this long line. It's hard to read?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. Changes submitted.

Copy link
Member

@mkllnk mkllnk left a comment

Choose a reason for hiding this comment

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

Thank you!

@mkllnk mkllnk merged commit 5e0997d into openfoodfoundation:master Sep 8, 2018
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.

3 participants