mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-07 11:48:08 -05:00
Fixed another timestamp bug (12h format)
This commit is contained in:
parent
4ad678603e
commit
d65a2ecbcb
@ -156,8 +156,8 @@ public class Message {
|
||||
int minutes = date.getMinutes();
|
||||
|
||||
if (!use24hFormat) {
|
||||
hours = Math.abs(24 - hours);
|
||||
if (hours == 24) {
|
||||
hours = Math.abs(12 - hours);
|
||||
if (hours == 12) {
|
||||
hours = 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user