aboutsummaryrefslogtreecommitdiff
path: root/src/F2Md/Config.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/F2Md/Config.hs')
-rw-r--r--src/F2Md/Config.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/F2Md/Config.hs b/src/F2Md/Config.hs
index 33380fa..c952d09 100644
--- a/src/F2Md/Config.hs
+++ b/src/F2Md/Config.hs
@@ -78,10 +78,10 @@ updateLastUpdated' path feed msgs =
HM.insert
(fuUrl feed)
(utcToZonedTime (zonedTimeZone $ mDate $ head msgs) . maximum $
- (zonedTimeToUTC . mDate) <$> msgs)
+ zonedTimeToUTC . mDate <$> msgs)
decoded
updateLastUpdated :: FilePath -> [FeedUserdata] -> [[Message]] -> IO ()
updateLastUpdated path feeds feedMsgs = do
- mapM_ (\(feed, msgs) -> updateLastUpdated' path feed msgs)
+ mapM_ (uncurry (updateLastUpdated' path))
(zip feeds feedMsgs)