diff --git a/lib/calendar/components/month/index.wxs b/lib/calendar/components/month/index.wxs index 55e45a57..8c1e89b9 100644 --- a/lib/calendar/components/month/index.wxs +++ b/lib/calendar/components/month/index.wxs @@ -9,7 +9,7 @@ var ROW_HEIGHT = 64; function getDayStyle(type, index, date, rowHeight, color, firstDayOfWeek) { var style = []; - var current = getDate(date).getDay() || 7; + var current = getDate(date).getUTCDay() || 7; var offset = current < firstDayOfWeek ? (7 - firstDayOfWeek + current) : current === 7 && firstDayOfWeek === 0 ? 0 : (current - firstDayOfWeek);