Commit 931916d7a26d9b50a068f81e9f1898b164199eac

Authored by Vasiliy Ermolovich
2 parents cb4eff56 064611e1
Exists in master and in 1 other branch production

Merge pull request #210 from shingara/fix/use_utc

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  
... ...