Source-Changes-HG archive

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

[src/netbsd-1-6]: src/lib/libc/time Pullup patch (requested by kleink in tick...



details:   https://anonhg.NetBSD.org/src/rev/e8aa27ffd12c
branches:  netbsd-1-6
changeset: 531304:e8aa27ffd12c
user:      jmc <jmc%NetBSD.org@localhost>
date:      Fri Apr 16 22:33:10 2004 +0000

description:
Pullup patch (requested by kleink in ticket #1670)

Add documentation for %v. PR#25180

diffstat:

 lib/libc/time/strftime.3 |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 0c2c072d3be6 -r e8aa27ffd12c lib/libc/time/strftime.3
--- a/lib/libc/time/strftime.3  Mon Apr 12 05:29:52 2004 +0000
+++ b/lib/libc/time/strftime.3  Fri Apr 16 22:33:10 2004 +0000
@@ -34,7 +34,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)strftime.3   5.12 (Berkeley) 6/29/91
-.\"    $NetBSD: strftime.3,v 1.13.2.1 2002/12/11 18:01:35 he Exp $
+.\"    $NetBSD: strftime.3,v 1.13.2.2 2004/04/16 22:33:10 jmc Exp $
 .\"
 .Dd June 29, 1991
 .Dt STRFTIME 3
@@ -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.
 .Sh BUGS
 There is no conversion specification for the phase of the moon.



Home | Main Index | Thread Index | Old Index