X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/baf33b39fcddb95d9289abd6b0529f2bffc89687..3de32bc0676f5a1c4116b48bc4a5b24e1c455a74:/HTML/php/QuickForm/mdate.php?ds=sidebyside 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 } ?>