change time format to 24h
This commit is contained in:
parent
e972480c55
commit
8074b36f91
|
@ -341,7 +341,7 @@ public class MainMenu extends BaseOpsuState {
|
||||||
Utils.getTimeString((int) (System.currentTimeMillis() - programStartTime) / 1000)),
|
Utils.getTimeString((int) (System.currentTimeMillis() - programStartTime) / 1000)),
|
||||||
marginX, height - bottomMarginY - (lineHeight * 2));
|
marginX, height - bottomMarginY - (lineHeight * 2));
|
||||||
g.drawString(String.format("It is currently %s.",
|
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);
|
marginX, height - bottomMarginY - lineHeight);
|
||||||
|
|
||||||
UI.draw(g);
|
UI.draw(g);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user