summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff/tmac/tmac.e
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/groff/tmac/tmac.e')
-rw-r--r--gnu/usr.bin/groff/tmac/tmac.e6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/usr.bin/groff/tmac/tmac.e b/gnu/usr.bin/groff/tmac/tmac.e
index a472560979c..3a4eb86a999 100644
--- a/gnu/usr.bin/groff/tmac/tmac.e
+++ b/gnu/usr.bin/groff/tmac/tmac.e
@@ -1519,8 +1519,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 *year \n(yr+1900
-.ds td \*(mo \n(dy, \n[*year]
+.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