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,
|
||||
title: entry.title,
|
||||
url: url,
|
||||
date: entry.date |> Timex.Timezone.convert(:utc),
|
||||
date: entry.date |> Timex.Timezone.convert(:utc) |> DateTime.truncate(:second),
|
||||
creator: "",
|
||||
content: entry.content
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue