mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-08 04:08:19 -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();
|
int minutes = date.getMinutes();
|
||||||
|
|
||||||
if (!use24hFormat) {
|
if (!use24hFormat) {
|
||||||
hours = Math.abs(24 - hours);
|
hours = Math.abs(12 - hours);
|
||||||
if (hours == 24) {
|
if (hours == 12) {
|
||||||
hours = 0;
|
hours = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user