Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libutil PR bin/56042
details: https://anonhg.NetBSD.org/src/rev/64ef19a6e4d8
branches: trunk
changeset: 379172:64ef19a6e4d8
user: kre <kre%NetBSD.org@localhost>
date: Sun May 16 19:42:35 2021 +0000
description:
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:
lib/libutil/parsedate.3 | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (42 lines):
diff -r 5d257f9a1f6e -r 64ef19a6e4d8 lib/libutil/parsedate.3
--- a/lib/libutil/parsedate.3 Sun May 16 11:11:36 2021 +0000
+++ b/lib/libutil/parsedate.3 Sun May 16 19:42:35 2021 +0000
@@ -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) ,
Home |
Main Index |
Thread Index |
Old Index