You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was executing the lines above from Europe/Samara in the evening, around 21:30. My timezone is UTC+04:00 and the corresponding Etc area is Etc/GMT-4 (according to tz database wiki)
I was expecting Timex.now() |> Timex.Timezone.convert("Etc/GMT-4") to give me my local time (~21:30)
The text was updated successfully, but these errors were encountered:
This is largely a duplicate of #649, but slightly different
Steps to reproduce
in your mix.exs:
then in the console:
tried in PostgreSQL and it's consistent with DateTime + Tzdata:
but Timex gives a very different result
Description of issue
I was executing the lines above from
Europe/Samara
in the evening, around21:30
. My timezone isUTC+04:00
and the corresponding Etc area isEtc/GMT-4
(according to tz database wiki)I was expecting
Timex.now() |> Timex.Timezone.convert("Etc/GMT-4")
to give me my local time (~21:30)The text was updated successfully, but these errors were encountered: