Issue Bug Closed

#103430Error messages of DateRange validator options mixed up

Uwe Wiebach 03/19/24, 16:23 updated 12/02/25, 14:33

Description

Either I misunderstand how the validator works or the error messages are mixed up.

The message that is displayed when the date is less than the specified minimum is ( $value < $minimum ):
@You must select a date before %s.@ with %s being the minimum.

And the message if the date is higher than the maximum ( $value > $maximum ):
@You must select a date after %s.@ with %s being the maximum.

Reviews 3

History 27

  1. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-03-27T19:35:08+00:00" > 03/27/25, 19:35 </span>

    Applied in changeset commit:9d1877231a110f38b879da1e2934526623a1a5d6.