mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-23 06:16:44 +00:00
add use_plugin_parser option to initializer template
This commit is contained in:
parent
c804442330
commit
8d3ae75b19
@ -2,6 +2,9 @@ ValidatesTimeliness.setup do |config|
|
||||
# Add plugin to supported ORMs (only :active_record for now)
|
||||
# config.extend_orms = [ :active_record ]
|
||||
#
|
||||
# User the plugin date/time parser which is stricter and extendable
|
||||
# config.use_plugin_parser = false
|
||||
#
|
||||
# Set the dummy date part for a time type values.
|
||||
# config.dummy_date_for_time_type = [ 2000, 1, 1 ]
|
||||
#
|
||||
|
||||
Loading…
Reference in New Issue
Block a user