Roo/bootstrap/DateField.js
authorjohn <john@roojs.com>
Thu, 23 Aug 2018 10:12:19 +0000 (18:12 +0800)
committerjohn <john@roojs.com>
Thu, 23 Aug 2018 10:12:19 +0000 (18:12 +0800)
Roo/bootstrap/DateField.js

index 9c25a53..44edf98 100644 (file)
@@ -342,7 +342,7 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input,  {
         
         this.picker().select('>.datepicker-days tbody',true).first().dom.innerHTML = '';
         
-        while(prevMonth.valueOf() < nextMonth) {
+        while(prevMonth.valueOf() <= nextMonth) {
             var clsName = '';
             
             if (prevMonth.getUTCDay() === this.weekStart) {