summaryrefslogtreecommitdiff
path: root/share/tmac/mdoc/doc-common
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-17 04:42:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-17 04:42:01 +0000
commitabb5b2dbcb6c9aa7c17d201e01e256bd367e0c86 (patch)
tree7effffaa7445daa596ebda10d54934be2401aafa /share/tmac/mdoc/doc-common
parentfe5461033fd9f1ce751b386e8f0fbd957283aa7d (diff)
fix Y2K problems
Diffstat (limited to 'share/tmac/mdoc/doc-common')
-rw-r--r--share/tmac/mdoc/doc-common5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/tmac/mdoc/doc-common b/share/tmac/mdoc/doc-common
index bbd0e328301..98006f754b5 100644
--- a/share/tmac/mdoc/doc-common
+++ b/share/tmac/mdoc/doc-common
@@ -1,4 +1,4 @@
-.\" $OpenBSD: doc-common,v 1.6 1997/10/20 02:04:44 etheisen Exp $
+.\" $OpenBSD: doc-common,v 1.7 1997/11/17 04:41:47 deraadt Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -268,7 +268,8 @@
. if "\\n(mo"10" .ds dD October
. if "\\n(mo"11" .ds dD November
. if "\\n(mo"12" .ds dD December
-. as dD \&\ \\n(dy, 19\\n(yr
+. nr *year \\n(yr+1900
+. as dD \&\ \\n(dy, \\n([*year]
. \}
.\}
.el \{\