make time output shorter?

mabe
This commit is contained in:
ChomeNS
2023-04-26 13:00:05 +07:00
parent dd3444e199
commit f9d9918e85
2 changed files with 14 additions and 12 deletions

View File

@@ -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)
);