X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsrc%2FRoo_bootstrap_DateField.js.html;h=2317e49bcbce136b51cf3cd13b436ea5b1e23ece;hb=46cc346126636f08ed5012230381afd7aa6c703b;hp=a8ec2ef1e435e09c05d6f43ee79dc64549bcd61e;hpb=6687379e0b1cb0a7ea1a497a972b7b167be763c4;p=roojs1
diff --git a/docs/src/Roo_bootstrap_DateField.js.html b/docs/src/Roo_bootstrap_DateField.js.html
index a8ec2ef1e4..2317e49bcb 100644
--- a/docs/src/Roo_bootstrap_DateField.js.html
+++ b/docs/src/Roo_bootstrap_DateField.js.html
@@ -751,8 +751,8 @@
if (className.indexOf('day') > -1 && className.indexOf('disabled') < 0 ){
var day = parseInt(html, 10) || 1;
- var year = this.viewDate.getUTCFullYear(),
- month = this.viewDate.getUTCMonth();
+ var year = (new Date(this.viewDate)).getUTCFullYear(),
+ month = (new Date(this.viewDate)).getUTCMonth();
if (className.indexOf('old') > -1) {
if(month === 0 ){