Fix the TaskDescription format for the start time
This commit is contained in:
2
task.c
2
task.c
@ -526,7 +526,7 @@ char *TaskDescription(pTaskHead it)
|
|||||||
|
|
||||||
length = strlen(result);
|
length = strlen(result);
|
||||||
tm = localtime((const time_t *)&it->start_time);
|
tm = localtime((const time_t *)&it->start_time);
|
||||||
strftime(result+length,100,"%F-%k-%m-%S",tm);
|
strftime(result+length,100,"%F-%H-%M-%S",tm);
|
||||||
length = strlen(result);
|
length = strlen(result);
|
||||||
snprintf(result+length,120-20,"|%ld", it->lID);
|
snprintf(result+length,120-20,"|%ld", it->lID);
|
||||||
length = strlen(result);
|
length = strlen(result);
|
||||||
|
Reference in New Issue
Block a user