nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] date math -- format help???


From: Bob Carragher
Subject: Re: [Nmh-workers] date math -- format help???
Date: Thu, 18 Dec 2014 02:52:11 -0800

On Wed, 17 Dec 2014 09:53:07 -0500 David Levine <address@hidden> sez:

> Bob wrote:
>
> > By the way, there seems to be a formatting bug with "zone"
> > when specifying wide fields with "leading" zeros.  For example,
> > if you specify the Date: field this way
> >
> >      
> > Date:formatfield="%<(nodate{text})%{text}%|%(pretty{text})%(void(szone{t
> > ext}))%<(eq
> > 1) %(date2local{text})%08(zone{text})%>%>"
> >
> > You get
> >
> >      Tue, 16 Dec 2014 23:24:30 -0500 0000-480
> >
> > I'm guessing negative integers were not expected by the
> > padding function?  And perhaps it was also fixed with 1.6
> > (or afterward)?
>
> It hasn't been fixed.  1.6 does provide fmttest -trace, which helps
> isolate the problem.  The number formatting function pads after
> inserting the - sign, ooops.  I'll fix it tonight.

Yet another reason to upgrade to 1.6.  B-)  Thanks!

Bob



reply via email to

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