Handle tzinfo being absent

Closes #962

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-11-29 09:31:39 +01:00 committed by tykayn
parent 6e3d8157d0
commit 7ef481dad3
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@ defmodule Mobilizon.Service.TimezoneDetector do
{:error, :time_zone_not_found} ->
fallback
{:error, :enoent} ->
fallback
end
end