Commit 01ccf016 authored by Ricki Hirner's avatar Ricki Hirner

Use a separate timezone registry for every iCalendar so that different

VTIMEZONE definitions don't influence each other
parent 45818e10
......@@ -52,7 +52,8 @@ open class ICalendar {
@JvmStatic
protected fun calendarBuilder() = CalendarBuilder(
CalendarParserFactory.getInstance().createParser(),
propertyFactoryRegistry, parameterFactoryRegistry, DateUtils.tzRegistry)
propertyFactoryRegistry, parameterFactoryRegistry,
TimeZoneRegistryFactory.getInstance().createRegistry())
// time zone helpers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment