[ARVADOS] updated: 1.3.0-2761-g1135d0f9d
Git user
git at public.arvados.org
Tue Jul 21 17:42:24 UTC 2020
Summary of changes:
services/api/config/initializers/time_zone.rb | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
via 1135d0f9d6a47c63d9f4e04d3ae2ac3fac8cc093 (commit)
from bd375eeacd72c7b10e9ceefe5b170df995d5c128 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 1135d0f9d6a47c63d9f4e04d3ae2ac3fac8cc093
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date: Tue Jul 21 14:41:52 2020 -0300
16470: Re-enabling Timezone setting on DB. (WIP)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>
diff --git a/services/api/config/initializers/time_zone.rb b/services/api/config/initializers/time_zone.rb
index f3c3652ae..cedd8f3e4 100644
--- a/services/api/config/initializers/time_zone.rb
+++ b/services/api/config/initializers/time_zone.rb
@@ -11,7 +11,5 @@ ActiveRecord::Base.connection.class.set_callback :checkout, :after do
# before now()), but false in time zone -0100 (now() returns an
# earlier clock time, and its time zone is dropped when comparing to
# a "timestamp without time zone").
- if Rails.env != 'test'
- raw_connection.sync_exec("SET TIME ZONE 'UTC'")
- end
+ raw_connection.sync_exec("SET TIME ZONE 'UTC'")
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list