Skip to content

Commit e0c2b80

Browse files
committed
Fix ZoneOffset
1 parent 799022e commit e0c2b80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/niconico/NiconicoServiceParsingHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ public static DateWrapper parseRSSDateTime(final String textDateTime) {
2323
final LocalDateTime localDateTime = LocalDateTime.parse(
2424
textDateTime, DateTimeFormatter.ofPattern("uuuu'年'MM'月'dd'日' HH':'mm':'ss"));
2525
// given datetime is
26-
return new DateWrapper(localDateTime.atOffset(ZoneOffset.ofHours(-9)));
26+
return new DateWrapper(localDateTime.atOffset(ZoneOffset.ofHours(9)));
2727
}
2828
}

0 commit comments

Comments
 (0)