16349: Set time zone to UTC at db connection level.
authorTom Clegg <tom@tomclegg.ca>
Wed, 29 Apr 2020 19:37:32 +0000 (15:37 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Mon, 8 Jun 2020 18:58:18 +0000 (14:58 -0400)
commita788b2a6c38b0a5d5887f44f45ff44d258f1b723
tree9ee99ade5c5ba42f4b2b51955aa400ea2b0e0f28
parent04e3809b09008c4009a9bc74120952d753244884
16349: Set time zone to UTC at db connection level.

This covers the trash time comparisons in materialized_permission_view
as well as explicit uses of CURRENT_TIMESTAMP in Rails queries.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>
services/api/app/controllers/application_controller.rb
services/api/app/models/api_client_authorization.rb
services/api/config/initializers/time_zone.rb [new file with mode: 0644]
services/api/lib/create_superuser_token.rb
services/api/test/unit/time_zone_test.rb [new file with mode: 0644]