diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2021-08-28 10:54:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-28 10:54:17 +0200 |
commit | e75d8db2981ffe9abbb9b0e9395862e83dda34df (patch) | |
tree | e903d0beb123802bfec0367f772d66b1cb7c3c30 /app/src/androidTest | |
parent | 87c50ac7a03169b5213b2dce37ac3f8415f6e0cb (diff) | |
parent | 24389d42e89037b205fff2bc681e4ad998895286 (diff) | |
download | AntennaPod-e75d8db2981ffe9abbb9b0e9395862e83dda34df.zip |
Merge pull request #5360 from ByteHamster/parser
Moved feed parser to its own module
Diffstat (limited to 'app/src/androidTest')
-rw-r--r-- | app/src/androidTest/java/de/test/antennapod/util/syndication/feedgenerator/Rss2Generator.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/androidTest/java/de/test/antennapod/util/syndication/feedgenerator/Rss2Generator.java b/app/src/androidTest/java/de/test/antennapod/util/syndication/feedgenerator/Rss2Generator.java index 9361c23df..6b294244a 100644 --- a/app/src/androidTest/java/de/test/antennapod/util/syndication/feedgenerator/Rss2Generator.java +++ b/app/src/androidTest/java/de/test/antennapod/util/syndication/feedgenerator/Rss2Generator.java @@ -11,8 +11,8 @@ import java.util.ArrayList; import de.danoeh.antennapod.model.feed.Feed; import de.danoeh.antennapod.model.feed.FeedFunding; import de.danoeh.antennapod.model.feed.FeedItem; -import de.danoeh.antennapod.core.syndication.namespace.PodcastIndex; -import de.danoeh.antennapod.core.util.DateUtils; +import de.danoeh.antennapod.parser.feed.namespace.PodcastIndex; +import de.danoeh.antennapod.core.util.DateFormatter; /** * Creates RSS 2.0 feeds. See FeedGenerator for more information. @@ -98,7 +98,7 @@ public class Rss2Generator implements FeedGenerator { } if (item.getPubDate() != null) { xml.startTag(null, "pubDate"); - xml.text(DateUtils.formatRFC822Date(item.getPubDate())); + xml.text(DateFormatter.formatRfc822Date(item.getPubDate())); xml.endTag(null, "pubDate"); } if ((flags & FEATURE_WRITE_GUID) != 0) { |