fix GMT pub date

This commit is contained in:
stubbfel
2016-05-19 21:00:16 +02:00
parent e9130adda7
commit ddf190148d
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
__author__ = 'dev'
Config = {
"FeedLinkTypes" : {"audio/mpeg","application/x-bittorrent", "audio/opus", "audio/x-mp3", "audio/x-opus"},
"FeedLinkTypes" : {"audio/mpeg","application/x-bittorrent", "audio/opus", "audio/x-mp3", "audio/x-opus", "audio/ogg"},
"FeedTypes" : {"podcast","rss"},
"FeedStorageFolder" : "feeds",
"FeedStoragePrefix" : { "0" : "FeedType", "1" : "FeedName"},

View File

@@ -38,7 +38,7 @@ class PodcastSerializer(Serializer):
"title": episode["title"],
"subtitle": "",
"file_link": file_link,
"pubdate": episode["published"],
"pubdate": episode["published"].replace("GMT", "+0000"),
"length": file_length
}
if episode.has_key('subtitle'):