fix: incorrect timezone correction for DST dates, fixes #604

This commit is contained in:
Harttle
2023-04-25 01:28:48 +08:00
committed by Jun Yang
parent 21ee27b575
commit 33b3c010af
5 changed files with 39 additions and 18 deletions
+3 -1
View File
@@ -20,7 +20,9 @@ jobs:
- name: Test
run: |
npm run lint
npm run test
TZ=Etc/GMT npm run test
TZ=Asia/Shanghai npm run test
TZ=America/New_York npm run test
- name: Coverage
uses: coverallsapp/[email protected]
with: