> On Wed, Nov 7 2012 at 2:22pm EST, Ken Hornstein <[email protected]> wrote:
 >
 > >Or maybe somebody's already generating AM/PM format using the existing
 > >formation functions!?
 > 
 > And .... you can!
 > 
 > %(hour12) = %(void(hour{date}))%(modulo 12)
 > 
 > %(ampm) = %(void(hour{date}))%<(gt 11)PM%|AM%>
 > 
 > Replace 'date' with your component of choice.

Super mh-format-fu!  

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:

Please QA?
Or not.
It works.
Thanks.

steve
--

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to