Commit 07ba8c15 authored by 黄奎's avatar 黄奎

日历修改

parent 3c052c03
......@@ -92,9 +92,6 @@ var calendarUtils = {
var currentMonth = date.getMonth() + 1;
var currentWeek = date.getDay(); // 1...6,0
if (currentWeek == 6) {
currentWeek = 7;
}
var str = calendarUtils.formatDate(
currentYear,
currentMonth,
......@@ -114,9 +111,6 @@ var calendarUtils = {
//其他周
var temp = 35;
console.log("aa",currentWeek +
new Date(currentYear, currentMonth, 0).getDate());
console.log("bb",temp + 1);
if (
currentWeek +
new Date(currentYear, currentMonth, 0).getDate() >35
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment