1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2025-01-07 11:48:08 -05:00

Fixed timestamp for 12h time format

This commit is contained in:
Sebastian Kaspari 2010-04-06 00:21:39 +02:00
parent 576d5be271
commit 4ad678603e

View File

@ -157,6 +157,9 @@ public class Message {
if (!use24hFormat) {
hours = Math.abs(24 - hours);
if (hours == 24) {
hours = 0;
}
}
return "[" + (hours < 10 ? "0" + hours : hours) + ":" + (minutes < 10 ? "0" + minutes : minutes) + "] ";