From 4f054e39dd954ac6189af5dcbd1caa88cc0b67fb Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 11 Jun 2021 15:30:31 +0200 Subject: [PATCH] Fixed hour format in uptime view. --- src/fr/devinsy/statoolinfos/uptime/Uptimes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/devinsy/statoolinfos/uptime/Uptimes.java b/src/fr/devinsy/statoolinfos/uptime/Uptimes.java index f3e32e3..ef4a790 100644 --- a/src/fr/devinsy/statoolinfos/uptime/Uptimes.java +++ b/src/fr/devinsy/statoolinfos/uptime/Uptimes.java @@ -180,7 +180,7 @@ public class Uptimes extends ArrayList result = new StringList(); for (Uptime uptime : this.sortByDateTime()) { - String line = String.format("%s %03d %s", uptime.getDateTime().format(DateTimeFormatter.ofPattern("hh:mm")), uptime.getCode(), uptime.getStatus().name()); + String line = String.format("%s %03d %s", uptime.getDateTime().format(DateTimeFormatter.ofPattern("HH:mm")), uptime.getCode(), uptime.getStatus().name()); result.append(line); }