Compare commits

...

3 Commits

Author SHA1 Message Date
Matt Jankowski
4a8d6400d2
Merge fd0385a10f into 0725afe1a9 2025-11-25 15:05:43 +00:00
Matt Jankowski
fd0385a10f Use existing date format string 2025-10-14 09:16:26 -04:00
Matt Jankowski
ebe3f12378 Prefer Time.current over Time.now.utc in backup service 2025-10-14 09:15:33 -04:00

View File

@ -63,7 +63,7 @@ class BackupService < BaseService
dump_actor!(zipfile)
end
archive_filename = "#{['archive', Time.now.utc.strftime('%Y%m%d%H%M%S'), SecureRandom.hex(16)].join('-')}.zip"
archive_filename = "#{['archive', Time.current.to_fs(:number), SecureRandom.hex(16)].join('-')}.zip"
@backup.dump = ActionDispatch::Http::UploadedFile.new(tempfile: tmp_file, filename: archive_filename)
@backup.processed = true