Add truncation for automatically derived timezones

This commit is contained in:
Lennart
2026-01-24 22:48:08 +01:00
parent bb0484ac4a
commit 246a1aa738
5 changed files with 9 additions and 9 deletions

View File

@@ -6,7 +6,7 @@ use caldata::{
IcalEventBuilder, VcardContact,
},
generator::Emitter,
parser::ContentLine,
parser::{ContentLine, ParserOptions},
property::{
Calscale, IcalCALSCALEProperty, IcalDTENDProperty, IcalDTSTAMPProperty,
IcalDTSTARTProperty, IcalPRODIDProperty, IcalRRULEProperty, IcalSUMMARYProperty,
@@ -136,7 +136,7 @@ impl AddressObject {
inner: Some(CalendarInnerDataBuilder::Event(vec![event])),
vtimezones: BTreeMap::default(),
}
.build(None)?
.build(&ParserOptions::default(), None)?
.into(),
))
}