Skip to content

Commit

Permalink
Fix timezone parsing in ical.timezones.js
Browse files Browse the repository at this point in the history
[fixes #510]
  • Loading branch information
kewisch committed Jun 9, 2023
1 parent 6925db5 commit 3553349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scriptutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async function generateZonesFile(tzdbDir) {

let lines = [
`(function() {`,
` function register(tzdata) { ICAL.TimezoneService.register(ICAL.Component.fromString("BEGIN:VTIMEZONE\\r\\n" + tzdata + "END:VTIMEZONE")) };`,
` function register(tzdata) { ICAL.TimezoneService.register(ICAL.Component.fromString("BEGIN:VTIMEZONE\\r\\n" + tzdata + "\\r\\nEND:VTIMEZONE")) };`,
` ICAL.TimezoneService.IANA_TZDB_VERSION = "${tzdbVersion}";`
];

Expand Down

0 comments on commit 3553349

Please sign in to comment.