Fix crash onn storing items with too precise dates

This commit is contained in:
Shadowfacts 2019-09-18 15:55:22 -04:00
parent 5c4b989446
commit 56121de540
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }