Open
Description
Hi,
the date in the error message of greater_than_or_equal_to
is not localized. The output is something like 2024-01-08 07:18:00 UTC
but I want it more human readable like: Montag, 08. Januar 2024, 07:18 Uhr
Example:
I have the following validation in my model:
validates :start_datetime, presence: true
validates :end_datetime, comparison: {if: :start_datetime?, greater_than_or_equal_to: :start_datetime }
When I'm settting the end_datetime
before the start_datetime
i get the following error message:
Enddatum mit Uhrzeit muss größer oder gleich 2024-01-08 07:18:00 UTC sein
Metadata
Metadata
Assignees
Labels
No labels