Commit f45fa930 authored by Andreas Brandl's avatar Andreas Brandl

Explicitly use UTC for timestamps

parent b43c864d
...@@ -39,7 +39,7 @@ module Gitlab ...@@ -39,7 +39,7 @@ module Gitlab
SELECT projects.id, SELECT projects.id,
20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20,
#{pages_access_level}, #{pages_access_level},
NOW(), NOW() TIMEZONE('UTC', NOW()), TIMEZONE('UTC', NOW())
FROM projects FROM projects
WHERE projects.id BETWEEN #{Integer(from_id)} AND #{Integer(to_id)} WHERE projects.id BETWEEN #{Integer(from_id)} AND #{Integer(to_id)}
AND NOT EXISTS ( AND NOT EXISTS (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment