We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab318c0 + 1e8d259 commit 41a20adCopy full SHA for 41a20ad
lib/tasks/fetch_latest_db.rake
@@ -59,7 +59,7 @@ def fetch_latest_backups
59
# Retrieve the most up to date version of the DB dump
60
#
61
backup = backups.contents.select { |b| b.key.match?(".rds.dump") }.sort do |a,b|
62
- Time.parse(a.last_modified) <=> Time.parse(b.last_modified)
+ a.last_modified <=> b.last_modified
63
end.reverse.first
64
65
0 commit comments