Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/lib/libc/time Pullup rev 1.22 (requested by kleink in t...



details:   https://anonhg.NetBSD.org/src/rev/d75d3bc4d907
branches:  netbsd-2-0
changeset: 560423:d75d3bc4d907
user:      jmc <jmc%NetBSD.org@localhost>
date:      Fri Apr 16 22:45:52 2004 +0000

description:
Pullup rev 1.22 (requested by kleink in ticket #141)

Add documentation for %v

diffstat:

 lib/libc/time/strftime.3 |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 53ab86fe798b -r d75d3bc4d907 lib/libc/time/strftime.3
--- a/lib/libc/time/strftime.3  Fri Apr 16 22:30:16 2004 +0000
+++ b/lib/libc/time/strftime.3  Fri Apr 16 22:45:52 2004 +0000
@@ -30,9 +30,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)strftime.3   5.12 (Berkeley) 6/29/91
-.\"    $NetBSD: strftime.3,v 1.21 2003/09/08 17:54:34 wiz Exp $
+.\"    $NetBSD: strftime.3,v 1.21.2.1 2004/04/16 22:45:52 jmc Exp $
 .\"
-.Dd August 18, 2002
+.Dd April 14, 2004
 .Dt STRFTIME 3
 .Os
 .Sh NAME
@@ -169,6 +169,9 @@
 The year is given by the
 .Ql \&%G
 conversion specification.
+.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].
@@ -220,8 +223,9 @@
 .Ql \&%t ,
 .Ql \&%T ,
 .Ql \&%u ,
+.Ql \&%V ,
 and
-.Ql \&%V
+.Ql \&%v
 conversion specifications are extensions.
 .Pp
 Use of the ISO 8601 conversions may produce non-intuitive results.



Home | Main Index | Thread Index | Old Index