From 8074b36f912ad8f6e4b1d181eab500ffa2e4fba1 Mon Sep 17 00:00:00 2001 From: yugecin Date: Mon, 25 Jun 2018 23:04:51 +0200 Subject: [PATCH] change time format to 24h --- src/itdelatrisu/opsu/states/MainMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/itdelatrisu/opsu/states/MainMenu.java b/src/itdelatrisu/opsu/states/MainMenu.java index 884b9c75..95f3a6c3 100644 --- a/src/itdelatrisu/opsu/states/MainMenu.java +++ b/src/itdelatrisu/opsu/states/MainMenu.java @@ -341,7 +341,7 @@ public class MainMenu extends BaseOpsuState { Utils.getTimeString((int) (System.currentTimeMillis() - programStartTime) / 1000)), marginX, height - bottomMarginY - (lineHeight * 2)); g.drawString(String.format("It is currently %s.", - new SimpleDateFormat("h:mm a").format(new Date())), + new SimpleDateFormat("HH:mm").format(new Date())), marginX, height - bottomMarginY - lineHeight); UI.draw(g);