From 36f20fca7b01ed823b6fc7cb1e1deedf4195d2d4 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Fri, 2 Mar 2007 15:08:09 +0000 Subject: r21657: get rid of warning - not everyone understands %F (This used to be commit 5a7330cfe460cd53b89f5a27e18857f4ea7f9939) --- source3/client/client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/client') diff --git a/source3/client/client.c b/source3/client/client.c index b132c31fd8..a7bb56ba88 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -2526,7 +2526,7 @@ static int cmd_stat(void) lt = localtime(&sbuf.st_atime); if (lt) { - strftime(mode_str, sizeof(mode_str), "%F %T %z", lt); + strftime(mode_str, sizeof(mode_str), "%Y-%m-%d %T %z", lt); } else { fstrcpy(mode_str, "unknown"); } @@ -2534,7 +2534,7 @@ static int cmd_stat(void) lt = localtime(&sbuf.st_mtime); if (lt) { - strftime(mode_str, sizeof(mode_str), "%F %T %z", lt); + strftime(mode_str, sizeof(mode_str), "%Y-%m-%d %T %z", lt); } else { fstrcpy(mode_str, "unknown"); } @@ -2542,7 +2542,7 @@ static int cmd_stat(void) lt = localtime(&sbuf.st_ctime); if (lt) { - strftime(mode_str, sizeof(mode_str), "%F %T %z", lt); + strftime(mode_str, sizeof(mode_str), "%Y-%m-%d %T %z", lt); } else { fstrcpy(mode_str, "unknown"); } -- cgit