Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions checkin/checkin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,9 @@ class CheckInPlugin extends Plugin {

if (conf.lastRunDate === today) return;

// 每天重新生成随机时间,避免连续多天使用同一时间
this.todayRunTime = null;

const runTimeToday = this.getTodayRunTime();
if (!runTimeToday) {
this.todayRunTime = conf.runTime;
Expand Down