Commit d8804c19 authored by Randy Sommerfeld's avatar Randy Sommerfeld Committed by Deucе
Browse files

fix display issue at noon

parent 64c382e3
Pipeline #1233 failed with stage
in 12 minutes and 59 seconds
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment