lib/validates_timeliness/locale/en.yml in adzap-validates_timeliness-1.1.7 vs lib/validates_timeliness/locale/en.yml in adzap-validates_timeliness-2.0.0
- old
+ new
@@ -9,5 +9,10 @@
before: "must be before {{restriction}}"
on_or_before: "must be on or before {{restriction}}"
after: "must be after {{restriction}}"
on_or_after: "must be on or after {{restriction}}"
between: "must be between {{earliest}} and {{latest}}"
+ validates_timeliness:
+ error_value_formats:
+ date: '%Y-%m-%d'
+ time: '%H:%M:%S'
+ datetime: '%Y-%m-%d %H:%M:%S'