function RulesDateInputEvaluator::isFixedDateString
Determine whether the given date string specifies a fixed date.
1 call to RulesDateInputEvaluator::isFixedDateString()
- rules_ui_element_date_validate in ui/
ui.forms.inc - FAPI validation of a date element.
File
-
modules/
rules_core.eval.inc, line 100
Class
- RulesDateInputEvaluator
- A class implementing a rules input evaluator processing date input.
Code
public static function isFixedDateString($date) {
return is_string($date) && preg_match(self::DATE_REGEX_LOOSE, $date);
}