Handle tzinfo being absent
Closes #962 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
6e3d8157d0
commit
7ef481dad3
|
@ -18,6 +18,9 @@ defmodule Mobilizon.Service.TimezoneDetector do
|
||||||
|
|
||||||
{:error, :time_zone_not_found} ->
|
{:error, :time_zone_not_found} ->
|
||||||
fallback
|
fallback
|
||||||
|
|
||||||
|
{:error, :enoent} ->
|
||||||
|
fallback
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue