mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-24 23:06:42 +00:00
add :format option to readme
This commit is contained in:
parent
bb94e234bc
commit
57b8a52f07
@ -80,6 +80,7 @@ Special options:
|
|||||||
:with_time - Validate a date attribute value combined with a time value against any temporal restrictions
|
:with_time - Validate a date attribute value combined with a time value against any temporal restrictions
|
||||||
:with_date - Validate a time attribute value combined with a date value against any temporal restrictions
|
:with_date - Validate a time attribute value combined with a date value against any temporal restrictions
|
||||||
:ignore_usec - Ignores microsecond value on datetime restrictions
|
:ignore_usec - Ignores microsecond value on datetime restrictions
|
||||||
|
:format - Limit validation to a single format for special cases. Takes plugin format value.
|
||||||
|
|
||||||
Message options: - Use these to override the default error messages
|
Message options: - Use these to override the default error messages
|
||||||
:invalid_date_message
|
:invalid_date_message
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user