forked from potsda.mn/mobilizon
Handle tzinfo being absent
Closes #962 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
402e3d97ea
commit
21325a014d
|
@ -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 a new issue