Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time-zone problem #4

Open
lifetraveler opened this issue Apr 10, 2024 · 0 comments
Open

time-zone problem #4

lifetraveler opened this issue Apr 10, 2024 · 0 comments

Comments

@lifetraveler
Copy link

lifetraveler commented Apr 10, 2024

when import my ics file by this plugin,the time-zone have something wrong,not the same with google-calendar,my time-zone is utc+8

BEGIN:VCALENDAR
PRODID:-//Mozilla.org/RUN-PLAN.V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Asia/Shanghai
X-WR-TIMEZONE:Asia/Shanghai
X-TZINFO:Asia/Shanghai[2024a]
BEGIN:STANDARD
TZOFFSETTO:+080000
TZOFFSETFROM:+080543
TZNAME:Asia/Shanghai(STD)
DTSTART:19010101T000000
RDATE:19010101T000000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+090000
TZOFFSETFROM:+080000
TZNAME:Asia/Shanghai(DST)
DTSTART:19190413T000000
RDATE:19190413T000000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+080000
TZOFFSETFROM:+090000
TZNAME:Asia/Shanghai(STD)
DTSTART:19191001T000000
RDATE:19191001T000000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+090000
TZOFFSETFROM:+080000
TZNAME:Asia/Shanghai(DST)
DTSTART:19400601T000000
RDATE:19400601T000000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+080000
TZOFFSETFROM:+090000
TZNAME:Asia/Shanghai(STD)
DTSTART:19401013T000000
RDATE:19401013T000000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+090000
TZOFFSETFROM:+080000
TZNAME:Asia/Shanghai(DST)
DTSTART:19410315T000000
RDATE:19410315T000000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+080000
TZOFFSETFROM:+090000
TZNAME:Asia/Shanghai(STD)
DTSTART:19411102T000000
RDATE:19411102T000000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+090000
TZOFFSETFROM:+080000
TZNAME:Asia/Shanghai(DST)
DTSTART:19420131T000000
RDATE:19420131T000000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+080000
TZOFFSETFROM:+090000
TZNAME:Asia/Shanghai(STD)
DTSTART:19450902T000000
RDATE:19450902T000000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+090000
TZOFFSETFROM:+080000
TZNAME:Asia/Shanghai(DST)
DTSTART:19460515T000000
RDATE:19460515T000000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+080000
TZOFFSETFROM:+090000
TZNAME:Asia/Shanghai(STD)
DTSTART:19461001T000000
RDATE:19461001T000000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+090000
TZOFFSETFROM:+080000
TZNAME:Asia/Shanghai(DST)
DTSTART:19470415T000000
RDATE:19470415T000000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+080000
TZOFFSETFROM:+090000
TZNAME:Asia/Shanghai(STD)
DTSTART:19471101T000000
RDATE:19471101T000000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+090000
TZOFFSETFROM:+080000
TZNAME:Asia/Shanghai(DST)
DTSTART:19480501T000000
RDATE:19480501T000000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+080000
TZOFFSETFROM:+090000
TZNAME:Asia/Shanghai(STD)
DTSTART:19481001T000000
RDATE:19481001T000000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+090000
TZOFFSETFROM:+080000
TZNAME:Asia/Shanghai(DST)
DTSTART:19490501T000000
RDATE:19490501T000000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+080000
TZOFFSETFROM:+090000
TZNAME:Asia/Shanghai(STD)
DTSTART:19490528T000000
RDATE:19490528T000000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+090000
TZOFFSETFROM:+080000
TZNAME:Asia/Shanghai(DST)
DTSTART:19860504T020000
RDATE:19860504T020000
END:DAYLIGHT
BEGIN:DAYLIGHT
TZOFFSETTO:+090000
TZOFFSETFROM:+080000
TZNAME:Asia/Shanghai(DST)
DTSTART:19870412T020000
RDATE:19870412T020000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+080000
TZOFFSETFROM:+090000
TZNAME:Asia/Shanghai(STD)
DTSTART:19860914T020000
RRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=2SU;UNTIL=19880911T020000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETTO:+090000
TZOFFSETFROM:+080000
TZNAME:Asia/Shanghai(DST)
DTSTART:19880417T020000
RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=3SU;UNTIL=19900415T020000
END:DAYLIGHT
BEGIN:DAYLIGHT
TZOFFSETTO:+090000
TZOFFSETFROM:+080000
TZNAME:Asia/Shanghai(DST)
DTSTART:19910414T020000
RDATE:19910414T020000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETTO:+080000
TZOFFSETFROM:+090000
TZNAME:Asia/Shanghai(STD)
DTSTART:19890917T020000
RRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=3SU;UNTIL=19910915T020000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:轻松跑 5km - 周一
DESCRIPTION:配速: 6:00/km\n目标心率: 115-153 bpm
DTSTART;TZID=Asia/Shanghai:20240417T200000
DTEND;TZID=Asia/Shanghai:20240417T210000
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:节奏跑 8km - 周二
DESCRIPTION:配速: 5:30/km\n目标心率: 115-153 bpm
DTSTART;TZID=Asia/Shanghai:20240418T200000
DTEND;TZID=Asia/Shanghai:20240418T210000
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:休息 - 周三
DTSTART;TZID=Asia/Shanghai:20240419T200000
DTEND;TZID=Asia/Shanghai:20240419T205900
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:间歇跑 10km - 周四
DESCRIPTION:配速: 4:45/km (快) / 6:00/km (恢复)\n目标心率: 快跑时 153-192 bpm / 恢复跑时 115-153 bpm\n间歇时间: 5分钟
DTSTART;TZID=Asia/Shanghai:20240420T200000
DTEND;TZID=Asia/Shanghai:20240420T210000
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:慢跑 12km - 周五
DESCRIPTION:配速: 5:00/km\n目标心率: 115-153 bpm
DTSTART;TZID=Asia/Shanghai:20240421T200000
DTEND;TZID=Asia/Shanghai:20240421T210000
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:长跑 15km - 周六
DESCRIPTION:配速: 5:30/km\n目标心率: 115-153 bpm
DTSTART;TZID=Asia/Shanghai:20240422T080000
DTEND;TZID=Asia/Shanghai:20240422T090000
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:节奏跑 10km - 周日
DESCRIPTION:配速: 5:15/km\n目标心率: 115-153 bpm
DTSTART;TZID=Asia/Shanghai:20240423T080000
DTEND;TZID=Asia/Shanghai:20240423T090000
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:轻松跑 5km - 周一
DESCRIPTION:配速: 6:00/km\n目标心率: 115-153 bpm
DTSTART;TZID=Asia/Shanghai:20240424T200000
DTEND;TZID=Asia/Shanghai:20240424T210000
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:节奏跑 8km - 周二
DESCRIPTION:配速: 5:30/km\n目标心率: 115-153 bpm
DTSTART;TZID=Asia/Shanghai:20240425T200000
DTEND;TZID=Asia/Shanghai:20240425T210000
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:休息 - 周三
DTSTART;TZID=Asia/Shanghai:20240426T200000
DTEND;TZID=Asia/Shanghai:20240426T205900
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:间歇跑 10km - 周四
DESCRIPTION:配速: 4:45/km (快) / 6:00/km (恢复)\n目标心率: 快跑时 153-192 bpm / 恢复跑时 115-153 bpm\n间歇时间: 5分钟
DTSTART;TZID=Asia/Shanghai:20240427T200000
DTEND;TZID=Asia/Shanghai:20240427T210000
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:慢跑 12km - 周五
DESCRIPTION:配速: 5:00/km\n目标心率: 115-153 bpm
DTSTART;TZID=Asia/Shanghai:20240428T200000
DTEND;TZID=Asia/Shanghai:20240428T210000
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:长跑 15km - 周六
DESCRIPTION:配速: 5:30/km\n目标心率: 115-153 bpm
DTSTART;TZID=Asia/Shanghai:20240429T080000
DTEND;TZID=Asia/Shanghai:20240429T090000
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:[email protected]
CREATED:20240410T051048Z
LAST-MODIFIED:20240410T051048Z
DTSTAMP:20240410T051048Z
SUMMARY:节奏跑 10km - 周日
DESCRIPTION:配速: 5:15/km\n目标心率: 115-153 bpm
DTSTART;TZID=Asia/Shanghai:20240430T080000
DTEND;TZID=Asia/Shanghai:20240430T090000
SEQUENCE:0
STATUS:CONFIRMED
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER:-PT30M
END:VALARM
END:VEVENT
END:VCALENDAR

the wrong result
image

google-calendar is right
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant