summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorkre <kre@NetBSD.org>2021-05-16 19:42:35 +0000
committerkre <kre@NetBSD.org>2021-05-16 19:42:35 +0000
commit747dbbb3b85d74e0d11ebdd0fa8a0ed766a13590 (patch)
tree09b95a54e6f295e8eeac0fa8c23671b1ae9dcd72 /lib/libutil
parent331bd6a94950bd5098433a1846481634eeb6ab8b (diff)
PR bin/56042
Fix typos (2nd acst should have been acdt), 0550 for ist should be 0530 (5.5 hours is not 5 hours and 50 minutes...). Comment out the zp4 zp5 and zp6 zone names. They are supposedly supported by the source (they're in the table) but cannot work, as the parsedate lexer doesn't allow a "word" to start with an alpha and also contain digits. Maybe (just maybe) that could be fixed sometime, but since these have never worked, and no-one has ever seemed to miss them, and they're the only words which are of that form, for now, just stop pretending they work.
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/parsedate.314
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libutil/parsedate.3 b/lib/libutil/parsedate.3
index 06e46e2c1e3..47541bdc2e8 100644
--- a/lib/libutil/parsedate.3
+++ b/lib/libutil/parsedate.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: parsedate.3,v 1.25 2020/10/19 15:08:39 kre Exp $
+.\" $NetBSD: parsedate.3,v 1.26 2021/05/16 19:42:35 kre 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 19, 2020
+.Dd May 16, 2021
.Dt PARSEDATE 3
.Os
.Sh NAME
@@ -239,10 +239,10 @@ Timezone names:
.Dv eet (+0200) ,
.Dv bt (+0300) ,
.Dv it (+0330) ,
-.Dv zp4 (+0400) ,
-.Dv zp5 (+0500) ,
-.Dv ist (+0550) ,
-.Dv zp6 (+0600) ,
+.\".Dv zp4 (+0400) ,
+.\".Dv zp5 (+0500) ,
+.Dv ist (+0530) ,
+.\".Dv zp6 (+0600) ,
.Dv ict (+0700) ,
.Dv wast (+0800) ,
.Dv wadt (+0900) ,
@@ -255,7 +255,7 @@ Timezone names:
.Dv cast (+0930) ,
.Dv cadt (+1030) ,
.Dv acst (+0930) ,
-.Dv acst (+1030) ,
+.Dv acdt (+1030) ,
.Dv east (+1000) ,
.Dv eadt (+1100) ,
.Dv aest (+1000) ,