1
0
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:
Sebastian Kaspari 2010-04-06 00:37:16 +02:00
parent 4ad678603e
commit d65a2ecbcb

View File

@ -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;
} }
} }