]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/access_token.rb
Fix rubocop Rails/TimeZone warnings
[rails.git] / app / models / access_token.rb
index 53590a5946461c89e13dc22bc69b4a945a8cc94b..d2c0dba1ce85a93e39b7838f0e6b1bcbd24f88e5 100644 (file)
@@ -52,6 +52,6 @@ class AccessToken < OauthToken
   protected
 
   def set_authorized_at
-    self.authorized_at = Time.now
+    self.authorized_at = Time.now.utc
   end
 end