diff options
Diffstat (limited to 'contrib/opie/ftpcmd.y')
-rw-r--r-- | contrib/opie/ftpcmd.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/opie/ftpcmd.y b/contrib/opie/ftpcmd.y index ed1e710..494dc81 100644 --- a/contrib/opie/ftpcmd.y +++ b/contrib/opie/ftpcmd.y @@ -565,8 +565,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); } } |