Skip to content

Commit 910aa47

Browse files
committed
1 parent b82de9b commit 910aa47

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/dianshijia.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
env:
1515
DSJ_HEADERS: ${{ secrets.DSJ_HEADERS }}
1616
DSJ_DRAWAL: ${{ secrets.DSJ_DRAWAL }}
17+
TZ: Asia/shanghai
1718
steps:
1819
- name: Checkout
1920
run: |

Task/dianshijia.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ if (isGetCookie = typeof $request !== 'undefined') {
9999
if(new Date().getTimezoneOffset()/60 != '-8'){
100100
time = new Date(new Date(new Date().toLocaleDateString()).getTime())/1000-8*60*60
101101
console.log(time)
102+
console.log(TZ)
102103
} else {
103104
time = new Date(new Date(new Date().toLocaleDateString()).getTime())/1000
104105
}

0 commit comments

Comments
 (0)