fix Atomic configs without timeFormat
All checks were successful
/ build (push) Successful in 1m43s

This commit is contained in:
mr-boneman 2025-03-27 12:46:45 +01:00
parent c5c8bd823e
commit 32d5bde113

View file

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