about summary refs log tree commit diff
path: root/app/controllers/admin
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-08-12 16:24:22 +0200
committerThibaut Girka <thib@sitedethib.com>2019-08-12 16:24:22 +0200
commitc4ae7aab6f9f66073b0200a837652df5942e9b7b (patch)
tree39be81a1bd3270e2a32a11be3340bf26a463f858 /app/controllers/admin
parentaa485d6f055b93fd7a9df8b47ed96122b38af39e (diff)
parent74111bbb1c643aae516bd4bcb201052161ee725d (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/controllers/admin')
-rw-r--r--app/controllers/admin/tags_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/tags_controller.rb b/app/controllers/admin/tags_controller.rb
index d62361eaa..39aca2a4b 100644
--- a/app/controllers/admin/tags_controller.rb
+++ b/app/controllers/admin/tags_controller.rb
@@ -71,7 +71,7 @@ module Admin
       now = Time.now.utc.beginning_of_day.to_date
 
       (Date.commercial(now.cwyear, now.cweek)..now).map do |date|
-        date.to_time.utc.beginning_of_day.to_i
+        date.to_time(:utc).beginning_of_day.to_i
       end
     end
   end