diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-03-02 22:10:04 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-03-02 22:10:04 +0000 |
| commit | 50bab1e6fba3d997c386e88c13e6d8e3c1a53a81 (patch) | |
| tree | 2511a6bb601be0a26f4fdf1be692442545144e7a /lib/libc/stdtime/strftime.c | |
| parent | b3e95d4ed09e497b778584ac12ceea158c504e72 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdtime/strftime.c')
| -rw-r--r-- | lib/libc/stdtime/strftime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c index 23120f2cf7cf..e54ea893a0a4 100644 --- a/lib/libc/stdtime/strftime.c +++ b/lib/libc/stdtime/strftime.c @@ -234,7 +234,7 @@ label: pt = _fmt("%H:%M", t, pt, ptlim); continue; case 'r': - pt = _fmt("%I:%M:%S %p", t, pt, ptlim); + pt = _fmt(tptr->ampm_fmt, t, pt, ptlim); continue; case 'S': pt = _conv(t->tm_sec, "%02d", pt, ptlim); |
