summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2018-10-17 05:49:44 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2018-10-17 05:49:44 +0000
commit7d20d39c47bd20a1af9ae539837f77984725e8f9 (patch)
treef7284c78fdbf4e459798424e7133d7e35836d50d /share
parentcabe918da4669c0a91f17b9c5cd2182b280547bf (diff)
- add an example to date(1) showing how to convert between timezones
- update the description of TZ in date(1) - mention some relevant info to avoid sending the reader to another page and, when they have to refer to another page, send them to tzset(3) rather than environ(7) - update the timezone name used in environ(7), as advised by millert ok millert
Diffstat (limited to 'share')
-rw-r--r--share/man/man7/environ.76
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man7/environ.7 b/share/man/man7/environ.7
index d9d1670c6d2..538aab8d153 100644
--- a/share/man/man7/environ.7
+++ b/share/man/man7/environ.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: environ.7,v 1.19 2015/09/10 18:47:57 schwarze Exp $
+.\" $OpenBSD: environ.7,v 1.20 2018/10/17 05:49:43 jmc Exp $
.\" $NetBSD: environ.7,v 1.4 1995/07/03 19:45:07 jtc Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)environ.7 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: October 17 2018 $
.Dt ENVIRON 7
.Os
.Sh NAME
@@ -159,7 +159,7 @@ The time zone to use when displaying dates.
The normal format is a pathname relative to
.Pa /usr/share/zoneinfo .
For example, the command
-.Ic env TZ=US/Pacific date
+.Ic env TZ=America/Los_Angeles date
displays the current time in California.
See
.Xr tzset 3