Commit 7e11aa2d by 谢海旭

Merge remote-tracking branch 'origin/v5.8.2' into v5.8.2

2 parents c4b1e62e 16bcbfff
......@@ -256,7 +256,7 @@ public class CommonUtil {
}
try {
Calendar todayCal = Calendar.getInstance();
todayCal.setTime(new Date(126, 5, 1));
todayCal.setTime(new Date());
int todayDayOfWeek = todayCal.get(Calendar.DAY_OF_WEEK);
int todayDayOfMonth = todayCal.get(Calendar.DAY_OF_MONTH);
int todayWeekOfYear = todayCal.get(Calendar.WEEK_OF_YEAR);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!