From e2db4bbdcfd2980b4d02054884456c6e1087b324 Mon Sep 17 00:00:00 2001 From: taggon Date: Tue, 6 Oct 2009 02:30:10 +0000 Subject: [PATCH] =?UTF-8?q?=EB=8B=AC=EB=A0=A5=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EB=A7=88=EC=A7=80=EB=A7=89=20=EB=82=A0=EC=A7=9C=EA=B0=80=20?= =?UTF-8?q?=EC=9E=98=EB=AA=BB=20=ED=91=9C=EA=B8=B0=EB=90=98=EB=8D=98=20?= =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6815 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/js/plugins/ui.calendar/ui.calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/js/plugins/ui.calendar/ui.calendar.js b/common/js/plugins/ui.calendar/ui.calendar.js index e5b6316d8..1901eb976 100644 --- a/common/js/plugins/ui.calendar/ui.calendar.js +++ b/common/js/plugins/ui.calendar/ui.calendar.js @@ -139,7 +139,7 @@ $.extend(Calendar.prototype, { v['weeks'] = []; var d = new Date(cal.date.getTime()), w = []; - var last = (v.m!=2)? (v.m%2?31:30) : ((new Date(v.yyyy,v.m-1,29)).getMonth()==v.m?29:28); // 마지막 날 + var last = (v.m!=2)? ((v.m+(v.m>7?1:0))%2?31:30) : ((new Date(v.yyyy,v.m-1,29)).getMonth()==v.m?29:28); // 마지막 날 d.setDate(1); // 1일로 설정 후 1일의 요일을 가져온다. var start = d.getDay(), end = last+start;