[ARVADOS] updated: 1.3.0-2762-g519d7f530
Git user
git at public.arvados.org
Tue Jul 21 19:54:31 UTC 2020
Summary of changes:
services/api/config/initializers/time_zone.rb | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
via 519d7f53017480575f92c0fc7222dafc3b3cc85e (commit)
from e29e34320521dd04a80cc773d7c72766abe249ed (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 519d7f53017480575f92c0fc7222dafc3b3cc85e
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date: Tue Jul 21 16:53:47 2020 -0300
16470: Re-enables timezone setting using exec(). 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..1ba216457 100644
--- a/services/api/config/initializers/time_zone.rb
+++ b/services/api/config/initializers/time_zone.rb
@@ -11,7 +11,6 @@ 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.exec("SET TIME ZONE 'UTC'")
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list