Skip to content

Commit

Permalink
swap lines with tz=null being defined too early (refs #319).
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed Oct 21, 2024
1 parent a591e62 commit 2d16244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ical.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ function getTimeZone(value) {
if (tz && tz.startsWith('(')) {
// Extract just the offset
const regex = /[+|-]\d*:\d*/;
tz = null;
found = tz.match(regex);
tz = null;
}

// Timezone not confirmed yet
Expand Down

0 comments on commit 2d16244

Please sign in to comment.