diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-11-12 01:24:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-11-12 01:24:57 +0000 |
commit | 4dab1e80fa5e80fa46d12deaab7f52ea0c81ad3f (patch) | |
tree | 6f591df27aa369e2935cb06d1d0b455ad1d9b395 /src/strftime.c | |
parent | 915c0e25150b8b823afeefea3d5b1647659f27db (diff) | |
download | emacs-4dab1e80fa5e80fa46d12deaab7f52ea0c81ad3f.tar.gz |
automatically generated from GPLed version
Diffstat (limited to 'src/strftime.c')
-rw-r--r-- | src/strftime.c | 6 |
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); |