]> git.llucax.com Git - mecon/meconlib.git/blobdiff - lib/MECON/HTML/QuickForm/mdate.php
- Cambio en QuickForm.php
[mecon/meconlib.git] / lib / MECON / HTML / QuickForm / mdate.php
index b4927fa07a2421a247b65f124c13befbaaefa602..4ebf12272e722e47524241cbbf00583b8584c657 100644 (file)
@@ -99,7 +99,10 @@ class MECON_HTML_QuickForm_mdate extends HTML_QuickForm_date {
      */
     function &getValue() {
         if ($this->_selectedDate['Y']) {
      */
     function &getValue() {
         if ($this->_selectedDate['Y']) {
-            return new Date (sprintf("%04d-%02d-%02d 00:00:00",$this->_selectedDate['Y'],$this->_selectedDate['F'],$this->_selectedDate['d']));
+            return new Date (@sprintf("%04d-%02d-%02d %02d:%02d:00",
+            $this->_selectedDate['Y'], $this->_selectedDate['F'],
+            $this->_selectedDate['d'], $this->_selectedDate['H'],
+            $this->_selectedDate['i']));
         } else {
             return null;
         }
         } else {
             return null;
         }