[FIX] parentRel теперь обновляется.

This commit is contained in:
Zaxar163 2019-01-21 16:11:51 +03:00 committed by Gravit
parent 7e8e332891
commit 4adb51f6cf

View file

@ -45,6 +45,7 @@ public void run() {
if (rel.equals(parenRel)) return;
LogHelper.warning("Latest release: %s", rel.getName());
LogHelper.warning("It`s published at: " + DATE_TIME_FORMATTER.format(LocalDateTime.ofInstant(Instant.ofEpochMilli(rel.getPublished_at().getTime()), ZoneId.systemDefault())));
parenRel = rel;
} catch (IOException e) {
LogHelper.error(e);
}