From 3bed39113f475ae9b1243ab6a018169ef9bf8c92 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Mon, 4 Oct 2021 12:46:08 +0200 Subject: course, ics: location may be empty, make it an option As there may not be a location, make it an option type so we can easily add a warning in the title of an event. Signed-off-by: Alban Gruin --- src/ics.mli | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ics.mli') diff --git a/src/ics.mli b/src/ics.mli index f56a1a4..c2db3a2 100644 --- a/src/ics.mli +++ b/src/ics.mli @@ -19,7 +19,8 @@ module Event : sig type t val make : CalendarLib.Calendar.t -> CalendarLib.Calendar.t -> - string -> string -> string list -> t + string -> string option -> string list -> t + val to_string : string -> t -> int -> string end -- cgit v1.2.1