Commit 85891ca6a9ac165fc1b8374bfe3ee4c9f2f72b3c
1 parent
d2e3a021
Exists in
master
and in
1 other branch
Convert last_deploy_at to utc. fixes #150.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/problem.rb
... | ... | @@ -114,7 +114,7 @@ class Problem |
114 | 114 | if app |
115 | 115 | self.app_name = app.name |
116 | 116 | self.last_deploy_at = if (last_deploy = app.deploys.where(:environment => self.environment).last) |
117 | - last_deploy.created_at | |
117 | + last_deploy.created_at.utc | |
118 | 118 | end |
119 | 119 | collection.update({'_id' => self.id}, |
120 | 120 | {'$set' => {'app_name' => self.app_name, | ... | ... |