fix GMT pub date
This commit is contained in:
@@ -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"},
|
||||
|
||||
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user