Roo/bootstrap/DateField.js
authorEdward <edward@roojs.com>
Mon, 26 May 2014 10:37:27 +0000 (18:37 +0800)
committerEdward <edward@roojs.com>
Mon, 26 May 2014 10:37:27 +0000 (18:37 +0800)
Roo/bootstrap/DateField.js

index 0f1e80f..502106c 100644 (file)
@@ -432,6 +432,8 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input,  {
             this.viewDate = new Date(this.date);
         }
         
+        this.time = (typeof(this.time) === 'undefined') ? this.UTCTime() : (typeof(this.time) === 'string') ? this.parseDate(this.time) : this.time;
+        
         this.fill();
     },