Fix for "MITTERNACHT" to not show "UHR".

This commit is contained in:
2023-09-24 00:14:51 +02:00
parent e7ff1ade4f
commit 6ea15a23d6

View File

@@ -230,7 +230,7 @@ String time_to_string(uint8_t hours, uint8_t minutes)
message += "ZWOLF "; message += "ZWOLF ";
break; break;
} }
if (minutes < 5) if ((minutes < 5) && (hours != 0))
{ {
message += "UHR "; message += "UHR ";
} }