diff options
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/WebControls/TRangeValidator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TRangeValidator.php b/framework/Web/UI/WebControls/TRangeValidator.php index a861c9d6..842797ba 100644 --- a/framework/Web/UI/WebControls/TRangeValidator.php +++ b/framework/Web/UI/WebControls/TRangeValidator.php @@ -227,7 +227,7 @@ class TRangeValidator extends TBaseValidator if($dateFormat!=='')
{
$formatter=Prado::createComponent('System.Data.TSimpleDateFormatter', $dateFormat);
- $value = pradoParseDate($value, $dateFormat);
+ $value = $formatter->parse($value, $dateFormat);
if($minValue!=='')
$valid=$valid && ($value>=$formatter->parse($minValue));
if($maxValue!=='')
|