1 import type { VcalDateOrDateTimeProperty, VcalRruleProperty } from '../../interfaces/calendar/VcalModel';
2 import { getUntilProperty } from '../vcalConverter';
3 import { getIsPropertyAllDay, getPropertyTzid } from '../vcalHelper';
5 export const withRruleUntil = (rrule: VcalRruleProperty, dtstart: VcalDateOrDateTimeProperty): VcalRruleProperty => {
6 const until = rrule.value?.until;
14 until: getUntilProperty(until, getIsPropertyAllDay(dtstart), getPropertyTzid(dtstart)),