summaryrefslogtreecommitdiffstats
path: root/lib/libc/time/strftime.3
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2004-04-14 07:56:40 +0000
committerotto <otto@openbsd.org>2004-04-14 07:56:40 +0000
commitd3042bd80c4b1f0f5c080b0e896a208659a5e6a8 (patch)
treed9027a9b79c2aa7254f085034fe5a0820b87b07b /lib/libc/time/strftime.3
parentimplement RFC3493 AI_NUMERICSERV. tedu ok (diff)
downloadwireguard-openbsd-d3042bd80c4b1f0f5c080b0e896a208659a5e6a8.tar.xz
wireguard-openbsd-d3042bd80c4b1f0f5c080b0e896a208659a5e6a8.zip
Document %v. ok deraadt@
Diffstat (limited to 'lib/libc/time/strftime.3')
-rw-r--r--lib/libc/time/strftime.36
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/time/strftime.3 b/lib/libc/time/strftime.3
index 30eb33df5ae..aebca699d24 100644
--- a/lib/libc/time/strftime.3
+++ b/lib/libc/time/strftime.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91
-.\" $OpenBSD: strftime.3,v 1.18 2003/06/02 20:18:40 millert Exp $
+.\" $OpenBSD: strftime.3,v 1.19 2004/04/14 07:56:40 otto Exp $
.\"
.Dd January 18, 1998
.Dt STRFTIME 3
@@ -157,6 +157,9 @@ the week) as a decimal number (01-53).
If the week containing January
1 has four or more days in the new year, then it is week 1; otherwise
it is week 53 of the previous year, and the next week is week 1.
+.It Cm \&%v
+is replaced by the date in the format
+.Dq Li "%e-%b-%Y" .
.It Cm \&%W
is replaced by the week number of the year (Monday as the first day of
the week) as a decimal number (00-53).
@@ -212,6 +215,7 @@ The
.Ql \&%k ,
.Ql \&%l ,
.Ql \&%s ,
+.Ql \&%v ,
and
.Ql \&%+
conversion specifications are extensions.