diff --git a/gradle.properties b/gradle.properties index a3de3a3..6ae3faa 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ ## Core -VERSION = 0.4.2.7 +VERSION = 0.4.2.8 # dependencies diff --git a/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java b/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java index f7af85d..a708d13 100644 --- a/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java +++ b/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java @@ -4,6 +4,6 @@ package cc.sukazyo.cono.morny; * the final field that will be updated by gradle automatically. */ public class GradleProjectConfigures { - public static final String VERSION = "0.4.2.7"; - public static final long COMPILE_TIMESTAMP = 1640104964102L; + public static final String VERSION = "0.4.2.8"; + public static final long COMPILE_TIMESTAMP = 1640153916855L; } diff --git a/src/main/java/cc/sukazyo/cono/morny/bot/event/OnCommandExecute.java b/src/main/java/cc/sukazyo/cono/morny/bot/event/OnCommandExecute.java index 3090192..5c4bee4 100644 --- a/src/main/java/cc/sukazyo/cono/morny/bot/event/OnCommandExecute.java +++ b/src/main/java/cc/sukazyo/cono/morny/bot/event/OnCommandExecute.java @@ -145,8 +145,10 @@ public class OnCommandExecute extends EventListener { - %s - %s [UTC] - [%d] - continuous + continuous: - %s + - [%d] + - %s [UTC] - [%d]""", // system System.getProperty("os.name"), @@ -165,7 +167,9 @@ public class OnCommandExecute extends EventListener { GradleProjectConfigures.COMPILE_TIMESTAMP, // continuous CommonFormatUtils.formatDuration(System.currentTimeMillis() - MornyCoeur.coeurStartTimestamp), - System.currentTimeMillis() - MornyCoeur.coeurStartTimestamp + System.currentTimeMillis() - MornyCoeur.coeurStartTimestamp, + CommonFormatUtils.formatDate(MornyCoeur.coeurStartTimestamp, 0), + MornyCoeur.coeurStartTimestamp ) ).replyToMessageId(event.message().messageId()).parseMode(ParseMode.HTML)); }