Phoenix, Ecto and time zones | Michał Łusiak


By Erlang Central | Published: May 9, 2017



In the previous episode, I calculated the distance of flight. I will use it later for gathering statistics. Another metric, I would like to have is a time of flight. Usually, flight departure and arrival times are presented in local time. So it gets a bit tricky to get the time length when the journey spans across few time zones.

 

Phoenix, Ecto and time zones



Follow Erlang Central:


Have an Erlang Question?

Reach out to the Erlang community