Fix ical export for undefined datetimes
Closes #973 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
23864deffe
commit
b098ae202d
@ -163,6 +163,7 @@ defmodule Mobilizon.Service.Export.ICalendar do
|
||||
end
|
||||
|
||||
defp shift_tz(%DateTime{} = date, _), do: date
|
||||
defp shift_tz(nil, _), do: nil
|
||||
|
||||
defp organizer(%Event{attributed_to: %Actor{} = group}) do
|
||||
Actor.display_name(group)
|
||||
|
Loading…
Reference in New Issue
Block a user