lau / tzdata

tzdata for Elixir. Born from the Calendar library.
MIT License
303 stars 71 forks source link

fix: accept special chars on startup path #124

Closed polvalente closed 2 years ago

polvalente commented 3 years ago

This PR aims to fix a cryptic startup error when the tzdata path contains special characters.

The bug was found in a PT-BR locale for Ubuntu, in which "Desktop" translates to "Área de Trabalho".

Some functions were exposed as @doc false for tests.

If this fix is not desirable, I'd be happy to refactor this PR into a "better error message" kind of PR