Fix crash onn storing items with too precise dates
This commit is contained in:
parent
5c4b989446
commit
56121de540
|
@ -135,7 +135,7 @@ defmodule Frenzy.UpdateFeeds do
|
||||||
guid: entry.guid,
|
guid: entry.guid,
|
||||||
title: entry.title,
|
title: entry.title,
|
||||||
url: url,
|
url: url,
|
||||||
date: entry.date |> Timex.Timezone.convert(:utc),
|
date: entry.date |> Timex.Timezone.convert(:utc) |> DateTime.truncate(:second),
|
||||||
creator: "",
|
creator: "",
|
||||||
content: entry.content
|
content: entry.content
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue