Skip to content

Commit 9f20619

Browse files
author
lucifer
committed
北京时间测试
1 parent 3ef96e8 commit 9f20619

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Diff for: .github/workflows/schedule.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: daily
22
on:
3+
push:
34
schedule:
45
- cron: "1 16 * * *"
56

Diff for: static/solution/solutions.json

+1-1
Large diffs are not rendered by default.

Diff for: utils/day.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const MS_PER_DAY = 24 * 60 * 60 * 1000;
44

55
module.exports = {
66
getDay(date = new Date().getTime()) {
7+
console.log(startTime);
78
return ((date - startTime + MS_PER_DAY - 1) / MS_PER_DAY) >> 0;
89
},
910
};

0 commit comments

Comments
 (0)