@@ -139,11 +139,6 @@ titleField key = mapContext takeBaseName $ pathField key
139139-- @folder/yyyy-mm-dd-title.extension@ format (the convention for pages)
140140-- and no @published@ metadata field set, this function can render
141141-- the date.
142−--
143−-- > renderDateField "date" "%B %e, %Y" "Date unknown"
144−--
145−-- Will render something like @January 32, 2010@.
146−--
147142dateField :: String -- ^ Key in which the rendered date should be placed
148143 -> String -- ^ Format to use on the date
149144 -> Context a -- ^ Resulting context
@@ -165,7 +160,7 @@ dateFieldWith locale key format = field key $ \i -> do
165160
166161--------------------------------------------------------------------------------
167162-- | Parser to try to extract and parse the time from the @published@
168−-- field or from the filename. See 'renderDateField' for more information.
163+-- field or from the filename. See 'dateField' for more information.
169164-- Exported for user convenience.
170165getItemUTC :: MonadMetadata m
171166 => TimeLocale -- ^ Output time locale