Skip to content
Snippets Groups Projects
Commit ab3f8b9b authored by Randy Sommerfeld's avatar Randy Sommerfeld Committed by Deucе
Browse files

fix display issue at noon

parent d732d813
No related branches found
No related tags found
No related merge requests found
......@@ -2595,7 +2595,9 @@ char *utimestr(time_t *intime)
}
if(gm->tm_hour>=12) {
strcpy(mer,"pm");
hour=gm->tm_hour-12;
hour=gm->tm_hour;
if (tm_hour > 12)
hour=gm->tm_hour-12;
}
else {
if(!gm->tm_hour)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment