Skip to content

Commit

Permalink
Set timezone prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
tbartelmess committed May 14, 2020
1 parent c0020cc commit 5915759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftIcal/Component.swift
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ extension VEvent: LibicalComponentConvertible {
let dtstartProperty = icalproperty_new_dtstart(dtstart.date!.icalTime())

if let timezone = dtstart.timeZone {
icalproperty_add_parameter(dtstartProperty, icalparameter_new_tzid(timezone.identifier))
icalproperty_add_parameter(dtstartProperty, icalparameter_new_tzid(String(cString: icaltimezone_tzid_prefix()!) + "/" + timezone.identifier))
}
icalcomponent_add_property(comp, dtstartProperty)

Expand Down

0 comments on commit 5915759

Please sign in to comment.