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:
parent
576d5be271
commit
4ad678603e
@ -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) + "] ";
|
||||
|
Loading…
Reference in New Issue
Block a user