View Source Mobilizon.Service.TimezoneDetector (Mobilizon v5.0.0-beta.1)
Detect the timezone from a point
Summary
Functions
Detect the most appropriate timezone from a value, a geographic set of coordinates and a fallback
Types
@type detectable() :: Geo.Point.t() | Geo.PointZ.t() | {float() | float()}
Functions
@spec detect(String.t() | nil, detectable() | nil, String.t()) :: String.t()
Detect the most appropriate timezone from a value, a geographic set of coordinates and a fallback