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.
1 parent ab318c0 commit 1e8d259Copy full SHA for 1e8d259
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