mirror of
https://github.com/dataease/dataease.git
synced 2026-06-17 13:01:44 +08:00
fix(定时报告): 时间不能选择周六
This commit is contained in:
@@ -100,7 +100,7 @@ public class CronUtils {
|
||||
}
|
||||
private static String getDayOfWeek(Calendar instance) {
|
||||
int index = instance.get(Calendar.DAY_OF_WEEK);
|
||||
index = (index + 1) % 7;
|
||||
index = index + 1;
|
||||
return String.valueOf(index);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user