summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2007-03-02 15:08:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:22 -0500
commit36f20fca7b01ed823b6fc7cb1e1deedf4195d2d4 (patch)
tree88dced709fbbbfcefc5b4148c0824c88c7067bf1
parent091df71eea5abeb4277b26dd6da87714383f788f (diff)
downloadsamba-36f20fca7b01ed823b6fc7cb1e1deedf4195d2d4.tar.gz
samba-36f20fca7b01ed823b6fc7cb1e1deedf4195d2d4.tar.bz2
samba-36f20fca7b01ed823b6fc7cb1e1deedf4195d2d4.zip
r21657: get rid of warning - not everyone understands %F
(This used to be commit 5a7330cfe460cd53b89f5a27e18857f4ea7f9939)
-rw-r--r--source3/client/client.c6
1 files changed, 3 insertions, 3 deletions
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");
}