Roo/bootstrap/Calendar.js
authorEdward <edward@roojs.com>
Thu, 6 Mar 2014 07:57:35 +0000 (15:57 +0800)
committerEdward <edward@roojs.com>
Thu, 6 Mar 2014 07:57:35 +0000 (15:57 +0800)
Roo/bootstrap/Calendar.js

index 6edf026..c588129 100644 (file)
@@ -666,13 +666,13 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
         if(this.store.getCount() > 0){
             this.store.data.each(function(d){
                cal.addItem({
-                    start: new Date(),
-                    end : new Date().add(Date.H, 2),
+                    start: new Date(d.data.start_dt),
+                    end : new Date(d.data.end_dt),
                     title : d.data.title
                 });
             });
         }
-        Roo.log(this.calevents);
+        
         this.renderEvents();
     }
 });