From owner-freebsd-hackers Mon Aug 18 13:30:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA16255 for hackers-outgoing; Mon, 18 Aug 1997 13:30:51 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA16243 for ; Mon, 18 Aug 1997 13:30:37 -0700 (PDT) Received: from awfulhak.org (dev.lan.awfulhak.org [10.0.1.5]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id VAA15501; Mon, 18 Aug 1997 21:30:17 +0100 (BST) Received: from dev.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.6) with ESMTP id VAA05198; Mon, 18 Aug 1997 21:30:17 +0100 (BST) Message-Id: <199708182030.VAA05198@awfulhak.org> X-Mailer: exmh version 2.0zeta 7/24/97 To: grog@lemis.com cc: brian@awfulhak.org (Brian Somers), hackers@FreeBSD.ORG (FreeBSD Hackers) Subject: Re: date(1) In-reply-to: Your message of "Tue, 12 Aug 1997 11:29:55 +0900." <199708120229.LAA00484@papillon.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 18 Aug 1997 21:30:17 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Brian Somers writes: > >> The documentation's inadequate. Sure, it points to environ(7), but > >> since TZ is almost never used in BSD, there's a tendency to think > >> it'll be like a System V TZ, which is completely different. How about > >> adding: > >> > >> --- /usr/share/man/man1/date.1.orig Fri Aug 1 04:13:12 1997 > >> +++ /usr/share/man/man1/date.1 Fri Aug 1 14:54:38 1997 > >> @@ -171,6 +171,11 @@ > >> .Bl -tag -width Ds > >> .It Ev TZ > >> The timezone to use when displaying dates. > >> +The normal format is a pathname relative to > >> +.Dq Pa /usr/share/zoneinfo . > >> +For example, the command > >> +.Dq env TZ=America/Los_Angeles date > >> +displays the current time in California. > >> See > >> .Xr environ 7 > >> for more information. > > > > But this is already mentioned in environ(7). > > Sure, that's what I said at the top. But it's not obvious what the > reference to environ(7) is for, and the usage of TZ is different > enough from that of other UNIX systems that many people, myself > included, don't expect it and thus don't look at environ(7). Done (2.2 & current). > Greg -- Brian , Don't _EVER_ lose your sense of humour....