summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
authorxue <>2006-02-25 14:54:29 +0000
committerxue <>2006-02-25 14:54:29 +0000
commitbd93d2fecf1ce96ac9a4f6557335489a6347f509 (patch)
tree55442bdc13d246b2e53a778d290f7662402c15c4 /framework/Web/UI/WebControls
parent730d4af8510937fbbc7326f6776ae5aa06f3426d (diff)
Added TRangeValidator demo.
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r--framework/Web/UI/WebControls/TRangeValidator.php2
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!=='')