summaryrefslogtreecommitdiff
path: root/src/strftime.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-11-12 01:24:57 +0000
committerUlrich Drepper <drepper@redhat.com>1997-11-12 01:24:57 +0000
commit4dab1e80fa5e80fa46d12deaab7f52ea0c81ad3f (patch)
tree6f591df27aa369e2935cb06d1d0b455ad1d9b395 /src/strftime.c
parent915c0e25150b8b823afeefea3d5b1647659f27db (diff)
downloademacs-4dab1e80fa5e80fa46d12deaab7f52ea0c81ad3f.tar.gz
automatically generated from GPLed version
Diffstat (limited to 'src/strftime.c')
-rw-r--r--src/strftime.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/strftime.c b/src/strftime.c
index 7439244bc4d..50aed8ac76a 100644
--- a/src/strftime.c
+++ b/src/strftime.c
@@ -885,6 +885,11 @@ my_strftime (s, maxsize, format, tp)
cpy (buf + sizeof (buf) - bufp, bufp);
break;
+ case 'F':
+ if (modifier != 0)
+ goto bad_format;
+ subfmt = "%Y-%m-%d";
+ goto subformat;
case 'H':
if (modifier == 'E')
@@ -1031,6 +1036,7 @@ my_strftime (s, maxsize, format, tp)
add (1, *p = '\t');
break;
+ case 'f':
case 'u': /* POSIX.2 extension. */
DO_NUMBER (1, (tp->tm_wday - 1 + 7) % 7 + 1);