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} ->
|
||||
fallback
|
||||
|
||||
{:error, :enoent} ->
|
||||
fallback
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user