[Top][All Lists]

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

Re: [Nmh-workers] AM/PM

From: Ken Hornstein
Subject: Re: [Nmh-workers] AM/PM
Date: Wed, 07 Nov 2012 14:43:17 -0500

>On %(day{date}), %(month{date}) %(mday{date}) %(year{date}) at 
>%02(void(hour{date}))%(modulo 12):%02(min{date})%02(void(hour{date}))%<(gt 
>11)pm%|am%> %(tzone{date}), 
> wrote:

I _think_ instead of:

        %02(void(hour{date}))%(modulo 12)

you want:

        %(void(hour{date}))%02(modulo 12)

void doesn't output anything (that's the whole point of it) so you
want the format string to apply to the guy who does do the output,
the modulo operator.


reply via email to

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