groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] \n(yr is wrong


From: Jeroen Ruigrok/Asmodai
Subject: Re: [Groff] \n(yr is wrong
Date: Fri, 28 Jan 2000 15:28:14 +0100

-On [20000120 21:52], Nicola Bernardini (address@hidden) wrote:
>
>Here's my first problem:
>
>if you pipe \n(dy/\n(mo/\n(yr here's what you get today:
>
>20/1/100
>
>This is due to the fact that \n(yr is initialized using the struct tm->year
>field, which counts years from 1900. A backward-compatible solution
>(one that gives back '00') would be the best, but I don't know how
>to realize it...

Well, 

I am not sure which groff you are using, but the groff 1.15 fixes this
for me, at least I get:

     28/1/0

When using what you wrote above.

-- 
Jeroen Ruigrok vd W/Asmodai         address@hidden|bart.nl|freebsd.org]
Documentation nutter/B-rated Coder BSD: Technical excellence at its best  
The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>
How the gods kill...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]