diff options
author | Alban Gruin | 2021-10-04 12:46:08 +0200 |
---|---|---|
committer | Alban Gruin | 2021-10-04 12:46:08 +0200 |
commit | 3bed39113f475ae9b1243ab6a018169ef9bf8c92 (patch) | |
tree | b94824807833d66f6ec37ea2665268a8e97560d6 /src/ics.mli | |
parent | cee4a3ef6aba480b54ae32b427ce4579832e5d69 (diff) |
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 <alban at pa1ch dot fr>
Diffstat (limited to 'src/ics.mli')
-rw-r--r-- | src/ics.mli | 3 |
1 files changed, 2 insertions, 1 deletions
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 |