mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 05:50:45 +08:00
fix: 周表达式无效
This commit is contained in:
@@ -79,7 +79,8 @@ public abstract class TaskHandler implements InitializingBean {
|
||||
|
||||
private String getDayOfWeek(Calendar instance) {
|
||||
int index = instance.get(Calendar.DAY_OF_WEEK);
|
||||
return week[index];
|
||||
index = (index + 1) % 7;
|
||||
return String.valueOf(index);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user