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
parent 402e3d97ea
commit 21325a014d
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

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