Fix the TaskDescription format for the start time

This commit is contained in:
Douglas Clowes
2015-07-03 09:11:17 +10:00
parent a3d76cafd9
commit 8a4192dc41

2
task.c
View File

@ -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);