[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] AM/PM
From: |
rader |
Subject: |
Re: [Nmh-workers] AM/PM |
Date: |
Wed, 07 Nov 2012 13:48:56 -0600 |
> On Wed, Nov 7 2012 at 2:43pm EST, Ken Hornstein <address@hidden> wrote:
> >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}),
> %<{from}%(void{from})%?(void{apparently-from})%|%(void{sender})%>%(trim)%(putstr)
> 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.
I noticed that after I send my reply. Suprisingly 13:02 still gets morphed
into 1:02pm. "Meh".
steve
--
- [Nmh-workers] AM/PM, rader, 2012/11/07
- Re: [Nmh-workers] AM/PM, Ken Hornstein, 2012/11/07
- Re: [Nmh-workers] AM/PM, rader, 2012/11/07
- Re: [Nmh-workers] AM/PM, rader, 2012/11/10
- Re: [Nmh-workers] AM/PM, Ken Hornstein, 2012/11/10
- Re: [Nmh-workers] AM/PM, rader, 2012/11/10
- Re: [Nmh-workers] AM/PM, Ken Hornstein, 2012/11/10