rrule-go icon indicating copy to clipboard operation
rrule-go copied to clipboard

Fix Timezone issues with UNTIL and DTSTART

Open leaanthony-sc opened this issue 6 months ago • 0 comments

Fixes: #67

This PR contains the following fixes:

  • Ensures that datetime format for DTSTART is the same as UNTIL if given
  • If UNTIL is given and the datetime format is local, the time is interpreted in the timezone given in DTSTART if given (UTC is default)
  • Ensures that if a timezone is specified in DTSTART, the UNTIL time is not in UTC

Added tests for each scenario addressed.

leaanthony-sc avatar Aug 15 '24 00:08 leaanthony-sc