function date_views_filter_handler_simple::validate_valid_time in Date 8
Same name and namespace in other branches
- 7.3 date_views/includes/date_views_filter_handler_simple.inc \date_views_filter_handler_simple::validate_valid_time()
- 7.2 date_views/includes/date_views_filter_handler_simple.inc \date_views_filter_handler_simple::validate_valid_time()
Validate that the time values convert to something usable.
File
- date_views/
includes/ date_views_filter_handler_simple.inc, line 466 - A standard Views filter for a single date field, using Date API form selectors and sql handling.
Class
Code
function validate_valid_time(&$form, $operator, $value) {
// Override the core date filter validation.
// Our date widgets do their own validation.
}