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

Switch application timezone to UTC #67

Open
dhedlund opened this issue Mar 3, 2014 · 1 comment
Open

Switch application timezone to UTC #67

dhedlund opened this issue Mar 3, 2014 · 1 comment

Comments

@dhedlund
Copy link
Contributor

dhedlund commented Mar 3, 2014

The application's default timezone is currently "Pacific Time (US & Canada)" (defined in config/application.rb. We can to change this to be UTC since our app is now has full multi-tenancy timezone support.

The application's timezone should be set to UTC so that all times gets stored in the database in UTC/GMT time (assuming this isn't already the case with both PostgreSQL and SQLite). A migration script may be necessary to shift times already in the database so they are also in UTC.

Some specs, especially older importer-related ones, make assumptions that their fixtures/samples will always be parsed in Pacific Time and mix tests that have timezones embedded in the date strings they parse with tests that don't.

@lindsaycaron
Copy link
Member

I think is correct and can be closed now. Daniel, let me know if you agree! Thx!

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

No branches or pull requests

2 participants