Commit 064611e1579c388dce91f03e717d9f140e7e12a8

Authored by Cyril Mougel
1 parent 5b82e2d7
Exists in master and in 1 other branch production

use UTC is last_deploy_at is not define

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/problem.rb
... ... @@ -119,7 +119,7 @@ class Problem
119 119 end
120 120 collection.update({'_id' => self.id},
121 121 {'$set' => {'app_name' => self.app_name,
122   - 'last_deploy_at' => self.last_deploy_at}})
  122 + 'last_deploy_at' => self.last_deploy_at.try(:utc)}})
123 123 end
124 124 end
125 125  
... ...