Doh
This commit is contained in:
parent
52c6f1ff6c
commit
6f3d18a1ba
|
@ -136,7 +136,7 @@ defmodule FrenzyWeb.Fervor.ItemsController do
|
||||||
|
|
||||||
last_sync =
|
last_sync =
|
||||||
with s when is_binary(s) <- Map.get(params, "last_sync"),
|
with s when is_binary(s) <- Map.get(params, "last_sync"),
|
||||||
{:ok, datetime} <- Timex.parse(s) do
|
{:ok, datetime} <- Timex.parse(s, "{ISO:Extended:Z}") do
|
||||||
datetime
|
datetime
|
||||||
else
|
else
|
||||||
_ ->
|
_ ->
|
||||||
|
|
Loading…
Reference in New Issue