"19%02", tm.year -> "%d", tm.year+1900
This commit is contained in:
parent
5377d91075
commit
f719fbe423
@ -455,8 +455,8 @@ cmd: USER SP username CRLF
|
||||
struct tm *gmtime();
|
||||
t = gmtime(&stbuf.st_mtime);
|
||||
reply(213,
|
||||
"19%02d%02d%02d%02d%02d%02d",
|
||||
t->tm_year, t->tm_mon+1, t->tm_mday,
|
||||
"%d%02d%02d%02d%02d%02d",
|
||||
t->tm_year+1900, t->tm_mon+1, t->tm_mday,
|
||||
t->tm_hour, t->tm_min, t->tm_sec);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user