Skip to content

Commit 21815d2

Browse files
committed
Fix date format
1 parent 3b6ee23 commit 21815d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/invidious/InvidiousParsingHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static JsonArray getValidJsonArrayFromResponse(
9898

9999
public static DateWrapper getUploadDateFromEpochTime(final long epochTime) {
100100
return new DateWrapper(
101-
OffsetDateTime.ofInstant(Instant.ofEpochMilli(epochTime), ZoneOffset.UTC));
101+
OffsetDateTime.ofInstant(Instant.ofEpochSecond(epochTime), ZoneOffset.UTC));
102102
}
103103

104104
public static String getUid(@Nonnull final String id) {

0 commit comments

Comments
 (0)