Elixir’s ecosystem works with UTC datetimes or naive datetimes, so you have two options:
-
use naive datetimes with your server time set to GMT-3. In this way, datetimes will not have a timezone attached, and they will just use the server’s time.
-
work with UTC datetimes and convert them to correct timezone when appropriate.
It’s kinda tricky, what worked for me was playing a bit with timezone conversions, timex and iso8601 datetimes from user inputs.


















