blob: 215cc05d34bf9fc01ae22f925a5486a7bccf2b9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
.\" $OpenBSD: zdump.8,v 1.14 2007/05/31 19:19:34 jmc Exp $
.Dd $Mdocdate: May 31 2007 $
.Dt ZDUMP 8
.Os
.Sh NAME
.Nm zdump
.Nd time zone dumper
.Sh SYNOPSIS
.Nm zdump
.Op Fl v
.Oo
.Fl c
.Oo Ar loyear , Oc Ar hiyear
.Oc
.Ar zonename ...
.Sh DESCRIPTION
.Nm
prints the current time in each
.Ar zonename
named on the command line.
.Pp
These options are available:
.Bl -tag -width Fl
.It Xo
.Fl c
.Oo Ar loyear , Oc Ar hiyear
.Xc
Cut off verbose output near the start of the given year(s).
By default,
the program cuts off verbose output near the start of the years -500 and 2500.
.It Fl v
For each
.Ar zonename
on the command line,
print the time at the lowest possible time value,
the time one day after the lowest possible time value,
the times both one second before and exactly at
each detected time discontinuity,
the time at one day less than the highest possible time value,
and the time at the highest possible time value.
Each line ends with
.Dq isdst=1
if the given time is Daylight Saving Time or
.Dq isdst=0
otherwise.
.El
.Sh LIMITATIONS
The
.Fl v
option may not be used on systems with floating-point
.Li time_t
values that are neither float nor double.
.Pp
Time discontinuities are found by sampling the results returned by localtime
at twelve-hour intervals.
This works in all real-world cases;
.\" @(#)zdump.8 8.1
.Sh SEE ALSO
.Xr ctime 3 ,
.Xr tzfile 5 ,
.Xr zic 8
.\" @(#)zdump.8 7.7
.\" This file is in the public domain, so clarified as of
.\" 2003-02-14 by Arthur David Olson.
|