Skip to content

Commit be81f29

Browse files
committed
[YouTube] Use correct upload date flag in StreamExtractor
1 parent 5c0c350 commit be81f29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
import org.schabi.newpipe.extractor.exceptions.ParsingException;
2323
import org.schabi.newpipe.extractor.exceptions.ReCaptchaException;
2424
import org.schabi.newpipe.extractor.linkhandler.LinkHandler;
25-
import org.schabi.newpipe.extractor.localization.TimeAgoParser;
2625
import org.schabi.newpipe.extractor.localization.DateWrapper;
26+
import org.schabi.newpipe.extractor.localization.TimeAgoParser;
2727
import org.schabi.newpipe.extractor.services.youtube.ItagItem;
2828
import org.schabi.newpipe.extractor.services.youtube.linkHandler.YoutubeParsingHelper;
2929
import org.schabi.newpipe.extractor.stream.*;
@@ -152,7 +152,7 @@ public DateWrapper getUploadDate() throws ParsingException {
152152
return null;
153153
}
154154

155-
return new DateWrapper(YoutubeParsingHelper.parseDateFrom(textualUploadDate));
155+
return new DateWrapper(YoutubeParsingHelper.parseDateFrom(textualUploadDate), true);
156156
}
157157

158158
@Nonnull

0 commit comments

Comments
 (0)