From 9cfd2971916c71fbb2287b526e8a354a48c547f8 Mon Sep 17 00:00:00 2001 From: Napster Date: Sat, 27 Jan 2018 20:06:11 +0100 Subject: [PATCH] Adjust time shown in logger Resolves #443 --- FredBoat/src/main/java/fredboat/event/EventLogger.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FredBoat/src/main/java/fredboat/event/EventLogger.java b/FredBoat/src/main/java/fredboat/event/EventLogger.java index 44ab3bb81..7ccbfc51f 100644 --- a/FredBoat/src/main/java/fredboat/event/EventLogger.java +++ b/FredBoat/src/main/java/fredboat/event/EventLogger.java @@ -44,7 +44,7 @@ import javax.annotation.Nonnull; import javax.annotation.Nullable; -import java.time.LocalDateTime; +import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.List; import java.util.Objects; @@ -211,7 +211,7 @@ private void sendGuildStats() { } EmbedBuilder eb = CentralMessaging.getColoredEmbedBuilder() - .setTimestamp(LocalDateTime.now()) + .setTimestamp(OffsetDateTime.now()) .setTitle("Joins and Leaves since the last update") .addField("Guilds joined", Integer.toString(guildsJoinedEvents.getAndSet(0)), true) .addField("Guilds left", Integer.toString(guildsLeftEvents.getAndSet(0)), true);