Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/lib/libutil Pull up following revision(s) (requested by a...
details: https://anonhg.NetBSD.org/src/rev/ba5a7ce9a7fc
branches: netbsd-7
changeset: 798417:ba5a7ce9a7fc
user: snj <snj%NetBSD.org@localhost>
date: Sat Oct 11 16:52:07 2014 +0000
description:
Pull up following revision(s) (requested by apb in ticket #135):
lib/libutil/parsedate.3: revision 1.14
The tzoff argument is in minutes (behind/west of UTC), not seconds.
While here, also say that time = NULL and tzoff = NULL are independent.
The code doesn't yet implement that, but it will soon.
diffstat:
lib/libutil/parsedate.3 | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diffs (44 lines):
diff -r 463473740f83 -r ba5a7ce9a7fc lib/libutil/parsedate.3
--- a/lib/libutil/parsedate.3 Sat Oct 11 16:51:23 2014 +0000
+++ b/lib/libutil/parsedate.3 Sat Oct 11 16:52:07 2014 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: parsedate.3,v 1.12.8.1 2014/10/11 16:45:58 snj Exp $
+.\" $NetBSD: parsedate.3,v 1.12.8.2 2014/10/11 16:52:07 snj Exp $
.\"
.\" Copyright (c) 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd October 7, 2014
+.Dd October 8, 2014
.Dt PARSEDATE 3
.Os
.Sh NAME
@@ -46,15 +46,20 @@
.Ar datestr
described in English relative to an optional
.Ar time
-point and an optional timezone offset in seconds specified in
+point,
+and an optional timezone offset (in minutes behind/west of UTC)
+specified in
.Ar tzoff .
-If either
+If
.Ar time
-or
+is
+.Dv NULL
+then the current time is used.
+If
.Ar tzoff
-are
+is
.Dv NULL ,
-then the current time and timezone offset are used.
+then the current time zone is used.
.Pp
The
.Ar datestr
Home |
Main Index |
Thread Index |
Old Index