diff --git a/lib/remote_storage/riak.rb b/lib/remote_storage/riak.rb index c0af723..b0dee5f 100644 --- a/lib/remote_storage/riak.rb +++ b/lib/remote_storage/riak.rb @@ -247,7 +247,7 @@ module RemoteStorage timestamp = if entry["timestamp"] entry["timestamp"].to_i else - DateTime.rfc2822(entry["last_modified"]).to_i + DateTime.rfc2822(entry["last_modified"]).to_time.to_i end listing.merge!({ entry_name => timestamp })