Browse Source

refactor: revert previous

pull/1318/head
natdeanlewissoftwire 2 years ago
parent
commit
a407187120
  1. 4
      app/models/validations/date_validations.rb

4
app/models/validations/date_validations.rb

@ -69,11 +69,11 @@ module Validations::DateValidations
private private
def previous_collection_start_suffix def previous_collection_start_suffix
previous_collection_start_date.strftime("%y") previous_collection_start_date.strftime("%y").to_i
end end
def current_collection_start_suffix def current_collection_start_suffix
current_collection_start_date.strftime("%y") current_collection_start_date.strftime("%y").to_i
end end
def previous_collection_start_date def previous_collection_start_date

Loading…
Cancel
Save