Skip to content

Commit

Permalink
fix: remove daylight tzdata and tzoffset (#5)
Browse files Browse the repository at this point in the history
In China, daylight timezone is not used and it causes problems.
  • Loading branch information
qwqVictor authored Nov 21, 2023
1 parent b4457ee commit 81ca47a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions cqupt_ics/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,12 @@
BEGIN:VTIMEZONE\r
TZID:Asia/Shanghai\r
BEGIN:STANDARD\r
TZOFFSETFROM:+0900\r
TZOFFSETFROM:+0800\r
RRULE:FREQ=YEARLY;UNTIL=19910914T150000Z;BYMONTH=9;BYDAY=3SU\r
DTSTART:19890917T000000\r
TZNAME:GMT+8\r
TZOFFSETTO:+0800\r
END:STANDARD\r
BEGIN:DAYLIGHT\r
TZOFFSETFROM:+0800\r
DTSTART:19910414T000000\r
TZNAME:GMT+8\r
TZOFFSETTO:+0900\r
RDATE:19910414T000000\r
END:DAYLIGHT\r
END:VTIMEZONE\r
"""

Expand Down

0 comments on commit 81ca47a

Please sign in to comment.