From 9a578eb627aa8f14d90da2b7386c8049ebb35050 Mon Sep 17 00:00:00 2001 From: Daniel O'Callaghan Date: Mon, 18 Jan 1999 22:42:05 +0000 Subject: [PATCH] "19%02", tm.year -> "%d", tm.year+1900 --- usr.bin/yacc/test/ftp.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/yacc/test/ftp.y b/usr.bin/yacc/test/ftp.y index a9ee9cd95c3e..9a1e525bdb43 100644 --- a/usr.bin/yacc/test/ftp.y +++ b/usr.bin/yacc/test/ftp.y @@ -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); } }