refactor(rubocop): fix Rails/ToFormattedS

This commit is contained in:
Colin Darie 2023-04-24 13:12:23 +02:00
parent 1f3cd386e5
commit e8e785b953
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -5,7 +5,7 @@ class Cron::Datagouv::ExportAndPublishDemarchesPubliquesJob < Cron::CronJob
def perform(*args)
gzip_filepath = [
'tmp/',
Time.zone.now.to_formatted_s(:number),
Time.zone.now.to_fs(:number),
'-demarches.json.gz'
].join