Name
zic
Synopsis
zic [options] [files]
Description
System administration command. Create time conversion information files from the file or files specified. If the specified file is -, read information from standard input.
Options
- -d directory
Place the newly created files in directory. Default is /usr/local/etc/zoneinfo.
- -l timezone
Specify a timezone to use for local time. zic links the zone information for timezone with the zone localtime.
- -p timezone
Set the default rules for handling POSIX-format environment variables to the zone name specified by timezone.
- -s
Store time values only if they are the same when signed as when unsigned.
- -v
Verbose mode. Include extra error checking and warnings.
- -y command
Check year types with command. Default is yearistype.
- -L file
Consult file for information about leap seconds.
The source file(s) for zic should be formatted as a sequence of rule lines, zone lines, and link lines. An optional file containing leap second rules can be specified on the command line. Rule lines describe how time should be calculated. They describe changes in time, daylight savings time, war time, and any other changes that might affect a particular time zone. Zone lines specify which rules apply to a given zone. Link lines link similar zones together. Leap lines describe the exact time when leap seconds should be added or subtracted. Each of these lines is made up of fields. Fields are separated from one another by any number of whitespace characters. Comment lines ...
Get Linux in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.