diff options
author | ache <ache@FreeBSD.org> | 2001-03-02 22:10:04 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-03-02 22:10:04 +0000 |
commit | 1ad9d0ac29a0c4abee8ea6c1f7e1ca00c01b69c0 (patch) | |
tree | 0d18d6fef085d49ef004f8a345fd0cfe0f8a4953 /lib/libc/stdtime/strptime.c | |
parent | 021d152d846c8f073aaea8a609dbeaebb29a7e66 (diff) | |
download | FreeBSD-src-1ad9d0ac29a0c4abee8ea6c1f7e1ca00c01b69c0.zip FreeBSD-src-1ad9d0ac29a0c4abee8ea6c1f7e1ca00c01b69c0.tar.gz |
Implement ampm_fmt (%r) per POSIX
Diffstat (limited to 'lib/libc/stdtime/strptime.c')
-rw-r--r-- | lib/libc/stdtime/strptime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strptime.c b/lib/libc/stdtime/strptime.c index ee32651..57c5da1 100644 --- a/lib/libc/stdtime/strptime.c +++ b/lib/libc/stdtime/strptime.c @@ -181,7 +181,7 @@ label: break; case 'r': - buf = _strptime(buf, "%I:%M:%S %p", tm); + buf = _strptime(buf, tptr->ampm_fmt, tm); if (buf == 0) return 0; break; |