diff --git a/app/models/edition.rb b/app/models/edition.rb index e24219857a5..23747d8b267 100644 --- a/app/models/edition.rb +++ b/app/models/edition.rb @@ -736,7 +736,7 @@ def scheduled_publication=(date) def valid_date if @date_field_validity.present? && @date_field_validity[:scheduled_publication] == false - errors.add(:scheduled_publication, "must be a valid date in the format XX XX XXXX") + errors.add(:scheduled_publication, "must be a valid date in the correct format") end end