1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-08-13 16:53:50 -04: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();
if (!use24hFormat) {
hours = Math.abs(24 - hours);
if (hours == 24) {
hours = Math.abs(12 - hours);
if (hours == 12) {
hours = 0;
}
}