summaryrefslogtreecommitdiffstats
path: root/contrib/groff/tmac/tmac.e
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/groff/tmac/tmac.e')
-rw-r--r--contrib/groff/tmac/tmac.e8
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/groff/tmac/tmac.e b/contrib/groff/tmac/tmac.e
index 144565a..6747af4 100644
--- a/contrib/groff/tmac/tmac.e
+++ b/contrib/groff/tmac/tmac.e
@@ -39,6 +39,8 @@
.\" to provide variant functions.
.\" --- an internal macro.
.\"
+.\" $FreeBSD$
+.\"
.if !\n(.g .ig
.de @R \" --- initialize number register to 0, if undefined
.if !r\\$1 .nr \\$1 0
@@ -1519,8 +1521,10 @@ in \\f2\\*([B\\f1, \c
.if \n(dw=5 .ds dw Thursday
.if \n(dw=6 .ds dw Friday
.if \n(dw=7 .ds dw Saturday
-.nr _y \n(yr+1900
-.ds td \*(mo \n(dy, \n(_y
+.nr y2 \n(yr%100
+.af y2 00
+.nr y4 \n(yr+1900
+.ds td \*(mo \n(dy, \n(y4
.\" *** PARAMETRIC INITIALIZATIONS ***
.rr x
.nr $v \n(.v00+\n(.sp-1/\n(.sp \" vs as percentage of ps for .sz request
OpenPOWER on IntegriCloud