Skip to content

Commit

Permalink
预览可以查看种子发布时间了
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuo894 committed Oct 26, 2024
1 parent 345fd99 commit 5a1fa11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ani/rss/util/TorrentUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static synchronized void downloadAni(Ani ani) {
Date pubDate = item.getPubDate();
if (Objects.nonNull(pubDate) && delayedDownload > 0) {
Date now = DateUtil.offset(new Date(), DateField.MINUTE, -delayedDownload);
if (now.getTime() > pubDate.getTime()) {
if (now.getTime() < pubDate.getTime()) {
log.info("延迟下载 {}", reName);
continue;
}
Expand Down

0 comments on commit 5a1fa11

Please sign in to comment.