From c46dca25dcd447e90afd343170c2064a6b6db0fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mart=C3=ADn=20Marrese?= Date: Mon, 9 Jun 2003 22:53:31 +0000 Subject: [PATCH 1/1] --- HTML/php/QuickForm/mdate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTML/php/QuickForm/mdate.php b/HTML/php/QuickForm/mdate.php index 18b3f6c..d1aa84d 100644 --- a/HTML/php/QuickForm/mdate.php +++ b/HTML/php/QuickForm/mdate.php @@ -98,7 +98,7 @@ class HTML_QuickForm_mdate extends HTML_QuickForm_date */ function &getValue() { - return new Date (sprintf("%04d/%02d/%02d 00:00:00",$this->_selectedDate['y'],$this->_selectedDate['m'],$this->_selectedDate['d'])); + return new Date (sprintf("%04d/%02d/%02d 00:00:00",$this->_selectedDate['Y'],$this->_selectedDate['F'],$this->_selectedDate['d'])); } // end func _createNumericOptionList } ?> -- 2.43.0