diff options
author | ctrlaltca <> | 2013-01-06 23:17:29 +0000 |
---|---|---|
committer | ctrlaltca <> | 2013-01-06 23:17:29 +0000 |
commit | 4af5784e5c51536e074ea51eacea7e6c79efee15 (patch) | |
tree | 3287ab749f097bbc3187bd663487a3ecbd7cd35e /framework/Web/UI/WebControls | |
parent | ea00eb2ea27613491eb517be9659059696fb335b (diff) |
backported r3241 to trunk/
Diffstat (limited to 'framework/Web/UI/WebControls')
-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 57538e88..98469e14 100644 --- a/framework/Web/UI/WebControls/TRangeValidator.php +++ b/framework/Web/UI/WebControls/TRangeValidator.php @@ -255,7 +255,7 @@ class TRangeValidator extends TBaseValidator if($dateFormat!=='') { $formatter=Prado::createComponent('System.Util.TSimpleDateFormatter', $dateFormat); - $value = $formatter->parse($value, $dateFormat); + $value = $formatter->parse($value); if($minValue!=='') $valid=$valid && $this->isGreaterThan($value,$formatter->parse($minValue)); if($maxValue!=='') |