|
From: <ma...@us...> - 2012-03-25 16:35:54
|
Revision: 9186
http://xoops.svn.sourceforge.net/xoops/?rev=9186&view=rev
Author: mageg
Date: 2012-03-25 16:35:47 +0000 (Sun, 25 Mar 2012)
Log Message:
-----------
Fix bug ID: 3494894 (Calendar shows 40 days)
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.5/htdocs/include/calendar.js
Modified: XoopsCore/branches/2.5.x/2.5.5/htdocs/include/calendar.js
===================================================================
--- XoopsCore/branches/2.5.x/2.5.5/htdocs/include/calendar.js 2012-03-24 18:29:29 UTC (rev 9185)
+++ XoopsCore/branches/2.5.x/2.5.5/htdocs/include/calendar.js 2012-03-25 16:35:47 UTC (rev 9186)
@@ -1230,7 +1230,7 @@
Date.prototype.getMonthDays = function(month) {
var year = this.getFullYear();
if (typeof month == "undefined") {
- month = this.getMonthFormatted();
+ month = this.getMonth();
}
if (((0 == (year%4)) && ( (0 != (year%100)) || (0 == (year%400)))) && month == 1) {
return 29;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|