From f9d9918e851bd61059c2dda731b1b53a7b5626e6 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Wed, 26 Apr 2023 13:00:05 +0700 Subject: [PATCH] make time output shorter? mabe --- .idea/workspace.xml | 24 ++++++++++--------- .../chomens_bot/commands/TimeCommand.java | 2 +- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ffcff00..9b16f2e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,7 +4,9 @@ - @@ -478,7 +479,8 @@ - diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/TimeCommand.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/TimeCommand.java index 69e7390..980ae4d 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/TimeCommand.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/TimeCommand.java @@ -54,7 +54,7 @@ public class TimeCommand implements Command { final String formattedTime = formatter.print(dateTime); return Component.translatable( - "The current date and time for the timezone %s is: %s", + "The current time for %s is: %s", Component.text(timezone).color(NamedTextColor.AQUA), Component.text(formattedTime).color(NamedTextColor.GREEN) );