1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-22 19:40:44 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
468555e32d Fix glitches with '-' and italics in man pages.
Using '\-' to denote ASCII minus has problems in groff output, since
it generates a minus sign in the current font, and if you cut and
paste from the documentation the resulting text won't work.  To avoid
the problem, define a string \*- that expands to ASCII minus in a
constant-width font in groff.  Also, change some instances of \(mi and
\(pl to use plain \- and +, since we no longer need special fonts for
these.  Finally, remove some no-longer-needed instances of "\^" after
italicized words.
2014-06-28 16:37:21 -07:00
9a8aa790bc Don't abuse "`" to mean open quote.
This was appropriate before Unicode, where "`" and "'" often balanced
in visual output, but that's been obsolete for a while.
Overall, single-quote 'like this' instead of `like this', and
double-quote "like this" or (in typeset output) “like this”
instead of ``like this''.  While we're at it, fix some glitches
with hyphens versus minus versus en dash versus em dash.
* Makefile ($(MANTXTS)): Use UTF-8 locale to produce *.txt output.
* checktab.awk, tzselect.ksh:
Quote 'like this' in diagnostics, instead of `like this'.
* date.1, newctime.3, newtzset.3, time2posix.3, zic.8 (q, lq, rq):
New macros.  Use them for better double-quoting in output.
* workman.sh: Tell Perl that its stdin and stdout are UTF-8.
* NEWS: Document this.
2014-06-15 13:27:37 -07:00
42801d2b1f Correct some UTC-vs-UT solecisms.
In several places the code and documentation incorrectly used
"UTC" to describe time stamps that might precede the introduction
of UTC and for which UTC is therefore undefined.  Change these
uses to "UT", as that's the correct term when talking about these
time stamps.  Problem reported by Steve Allen in
<http://mm.icann.org/pipermail/tz/2013-September/019907.html>.
The major compatibility issue here is with 'zdump -v'; it'll now
output "UT" instead of the possibly-incorrect "UTC".
Many files change in minor ways in the commentary.
* zdump.c (show):
* zic.c (inzsub, addtype):
In output, say "UT" rather than "UTC", since the time stamp we're
talking about might precede the introduction of UTC.
2013-09-04 19:07:31 -07:00
b90b803c05 Add FreeBSD-style -r option to 'date'.
* date.1: Document -r.
* date.c (main, usage): Support -r.
(main, reset): Remove EBUG code.
(display): New argument NOW.  Do not exit; that's now the
caller's responsibility.  All callers changed.
(display, timeout, convert, checkfinal, iffy):
Don't assume that localtime and gmtime succeed.
This prevents a core dump for, e.g., 'date -r 0xffffffffffffffff'.
* private.h: Include float.h.
(strtoimax): New macro, for pre-C99 systems that lack strtoimax.
(time_t_min, time_t_max): New constants, from zdump, with
different names to avoid a clash when zdump.c includes private.h.
2013-08-09 02:01:31 -07:00
dccd5a16af Switch from SCCS to git.
Remove the SCCS keyword '%W%' from all files.
Mostly this just remove comments.
Remove trailing white space, too.
* Makefile (TZCODE_VERSION): New macro.
(version.h): New rule.
(tzselect): Interpolate TZCODE_VERSION.
(clean): Remove version.h.
(zdump.o, zic.o): Depend on version.h.
* asctime.c, date.c, difftime.c, ialloc.c, localtime.c, scheck.c:
* strftime.c, zdump.c, zic.c: Remove elsieid.
* private.h: Remove privatehid.
* tzfile.h: Remove tzfilehid.
* tzselect.h (TZCODE_VERSION): Rename from VERSION.
* zdump.c, zic.c: Include "version.h",
and use TZCODE_VERSION instead of elsieid.
2012-07-18 17:30:38 -07:00
8fd12bab6b public domain
SCCS-file: date.1
SCCS-SID: 8.2
2012-07-18 03:03:07 -04:00
25d59c752c Eggert mods
SCCS-file: date.1
SCCS-SID: 7.4
2012-07-18 03:02:29 -04:00
d847a04a33 internationalization documentation
SCCS-file: date.1
SCCS-SID: 7.3
2012-07-18 03:02:15 -04:00
4d58f978a0 groff glitch avoidance
SCCS-file: date.1
SCCS-SID: 7.2
2012-07-18 03:02:08 -04:00
23b55d96a6 POSIX work
SCCS-file: date.1
SCCS-SID: 6.1
2012-07-18 03:02:04 -04:00
7cb1e64d95 strftime %C change
SCCS-file: date.1
SCCS-SID: 2.14
2012-07-18 03:01:58 -04:00
96641e4050 updated
SCCS-file: date.1
SCCS-SID: 2.13
2012-07-18 03:01:58 -04:00
ddfba5271d Guy notes
SCCS-file: date.1
SCCS-SID: 2.12
2012-07-18 03:01:58 -04:00
38d79e7576 System V compatibility
SCCS-file: date.1
SCCS-SID: 2.11
2012-07-18 03:01:58 -04:00
ca2678b006 blank ends removed
SCCS-file: date.1
SCCS-SID: 2.10
2012-07-18 03:01:58 -04:00
23210340da %c and %x change; hyphenization fix
SCCS-file: date.1
SCCS-SID: 2.9
2012-07-18 03:01:56 -04:00
dab5e5a145 specificity
SCCS-file: date.1
SCCS-SID: 2.8
2012-07-18 03:01:56 -04:00
bb21307f8a -a work
SCCS-file: date.1
SCCS-SID: 2.7
2012-07-18 03:01:55 -04:00
4366d82cea more conditionalization
SCCS-file: date.1
SCCS-SID: 2.6
2012-07-18 03:01:55 -04:00
af6a3e7c56 -a
SCCS-file: date.1
SCCS-SID: 2.5
2012-07-18 03:01:55 -04:00
ca60c01c57 eighty column work
SCCS-file: date.1
SCCS-SID: 2.4
2012-07-18 03:01:55 -04:00
29706d306b -D and -S go
SCCS-file: date.1
SCCS-SID: 2.2
2012-07-18 03:01:55 -04:00
0c3a26eaf6 Step 1 in simplification
SCCS-file: date.1
SCCS-SID: 2.1
2012-07-18 03:01:55 -04:00
d579757208 Saudi footnote goes
SCCS-file: date.1
SCCS-SID: 2.3
2012-07-18 03:01:54 -04:00
e8c4714d73 bottom part cleaned up
SCCS-file: date.1
SCCS-SID: 1.4
2012-07-18 03:01:54 -04:00
cacc9882fb slight NOTE mod
SCCS-file: date.1
SCCS-SID: 1.3
2012-07-18 03:01:54 -04:00
ec26729982 first real version
SCCS-file: date.1
SCCS-SID: 1.2
2012-07-18 03:01:54 -04:00
673e436360 created
SCCS-file: date.1
SCCS-SID: 1.1
2012-07-18 03:01:54 -04:00