From 32d5bde1131988be58ed1a4cb7b9a10396bfe0d4 Mon Sep 17 00:00:00 2001 From: mr-boneman Date: Thu, 27 Mar 2025 12:46:45 +0100 Subject: [PATCH] fix Atomic configs without timeFormat --- src/rss.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rss.nim b/src/rss.nim index 08ef60c..b341703 100644 --- a/src/rss.nim +++ b/src/rss.nim @@ -58,9 +58,9 @@ proc mixRssFeeds*( # if the IDE screams at you here, ignore it item.pubdate = some(parse(item.pubDate.get(), feed.timeFormat).format(atomTimeFormat)) - if item.updated.isSome(): - item.updated = - some(parse(item.updated.get(), feed.timeFormat).format(atomTimeFormat)) + if item.updated.isSome(): + item.updated = + some(parse(item.updated.get(), feed.timeFormat).format(atomTimeFormat)) item )