feed 0.3.10.3 → 0.3.10.4
raw patch · 4 files changed
+14/−4 lines, 4 files
Files
- CHANGELOG.md +4/−0
- README.md +3/−0
- feed.cabal +4/−1
- src/Text/Feed/Util.hs +3/−3
CHANGELOG.md view
@@ -1,3 +1,7 @@+#### 0.3.10.4++* Fix toFeedDateString time format, It used %s (seconds since epoch) instead of %S (seconds of minute), and %m (month) instead of %M (minute) (thanks to Emanuel Borsboom)+ #### 0.3.10.3 * RSS Export: avoid <enclosure length="Nothing"> attribute (thanks to Roman Cheplyaka)
README.md view
@@ -7,3 +7,6 @@ this set of modules provides parsers, pretty printers and some utility code for querying and just generally working with a concrete representation of feeds in Haskell.++For basic reading and editing of feeds, consult the documentation of+the Text.Feed.* hierarchy.
feed.cabal view
@@ -1,5 +1,5 @@ name: feed-version: 0.3.10.3+version: 0.3.10.4 license: BSD3 license-file: LICENSE category: Text@@ -11,6 +11,9 @@ pretty printers and some utility code for querying and just generally working with a concrete representation of feeds in Haskell.+ .+ For basic reading and editing of feeds, consult+ the documentation of the Text.Feed.* hierarchy. author: Sigbjorn Finne <sof@forkIO.com> maintainer: Adam Bergmark <adam@bergmark.nl> homepage: https://github.com/bergmark/feed
src/Text/Feed/Util.hs view
@@ -21,6 +21,6 @@ toFeedDateString :: FeedKind -> ClockTime -> {-Date-}String toFeedDateString fk ct = case fk of- AtomKind{} -> formatCalendarTime defaultTimeLocale "%Y-%m-%dT%H:%M:%sZ" (toUTCTime ct)- RSSKind{} -> formatCalendarTime defaultTimeLocale "%a, %d %b %Y %H:%m:%s GMT" (toUTCTime ct)- RDFKind{} -> formatCalendarTime defaultTimeLocale "%Y-%m-%dT%H:%M:%sZ" (toUTCTime ct)+ AtomKind{} -> formatCalendarTime defaultTimeLocale "%Y-%m-%dT%H:%M:%SZ" (toUTCTime ct)+ RSSKind{} -> formatCalendarTime defaultTimeLocale "%a, %d %b %Y %H:%M:%S GMT" (toUTCTime ct)+ RDFKind{} -> formatCalendarTime defaultTimeLocale "%Y-%m-%dT%H:%M:%SZ" (toUTCTime ct)