Fixed hour format in uptime view.

This commit is contained in:
Christian P. MOMON 2021-06-11 15:30:31 +02:00
parent 7a916178c4
commit 4f054e39dd

View file

@ -180,7 +180,7 @@ public class Uptimes extends ArrayList<Uptime>
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);
}