Module Name: src
Committed By: christos
Date: Tue Dec 8 12:51:21 UTC 2015
Modified Files:
src/lib/libutil: parsedate.3
Log Message:
more changes I forgot to commit
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/libutil/parsedate.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libutil/parsedate.3
diff -u src/lib/libutil/parsedate.3:1.18 src/lib/libutil/parsedate.3:1.19
--- src/lib/libutil/parsedate.3:1.18 Mon Dec 7 15:55:49 2015
+++ src/lib/libutil/parsedate.3 Tue Dec 8 07:51:21 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: parsedate.3,v 1.18 2015/12/07 20:55:49 christos Exp $
+.\" $NetBSD: parsedate.3,v 1.19 2015/12/08 12:51:21 christos Exp $
.\"
.\" Copyright (c) 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -198,11 +198,11 @@ Timezone names:
.Dv zp5 (+0500) ,
.Dv ist (+0550) ,
.Dv zp6 (+0600) ,
-.Dv wast (+0700) ,
-.Dv wadt (+0800) ,
-.Dv awst (+0700) ,
-.Dv awdt (+0800) ,
.Dv ict (+0700) ,
+.Dv wast (+0800) ,
+.Dv wadt (+0900) ,
+.Dv awst (+0800) ,
+.Dv awdt (+0900) ,
.Dv cct (+0800) ,
.Dv sgt (+0800) ,
.Dv hkt (+0800) ,
@@ -272,6 +272,14 @@ Relative items are also supported:
.It +2 years
.El
.Pp
+Note that, as a special case for
+.Dv midnight
+with the name of a day only,
+.Dv "midnight tuesday"
+implies 00:00 at the beginning of Tuesday, whereas
+.Dv "Sat mn"
+implies 00:00 at the end of Saturday (i.e. early Sunday morning.)
+.Pp
Seconds since epoch, UTC, (also known as UNIX time) are also supported:
.Bl -tag -compact -width "@735275209"
.It @735275209