Skip to content

Commit

Permalink
Reset Delta Date To 15th
Browse files Browse the repository at this point in the history
  • Loading branch information
gkostin1966 committed Jun 17, 2021
1 parent 2eeccdd commit af2cb4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/programs/assemble_marc_files/assemble_marc_files.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def create_selection_marc_delta_files(selection) # rubocop:disable Metrics/Metho
prev_delta = 1.month.ago
prev_delta_date = Date.new(prev_delta.year, prev_delta.month, 15)
this_delta = Time.now
this_delta_date = Date.new(this_delta.year, this_delta.month, 16)
this_delta_date = Date.new(this_delta.year, this_delta.month, 15)

filename = "#{selection.name}_update_#{format('%04d-%02d-%02d', this_delta_date.year, this_delta_date.month, this_delta_date.day)}"

Expand Down

0 comments on commit af2cb4a

Please sign in to comment.