Template:Time: Difference between revisions

From PBARC
No edit summary
No edit summary
Line 1: Line 1:
{{{1}}}:{{{2}}} (
{{{1}}}:{{{2}}}
     {{#ifexpr: ({{{1}}} = 12) and ({{{2}}} = 00)|
     {{#ifexpr: ({{{1}}} = 12) and ({{{2}}} = 00)|
         12:00 noon|                                                                                                                                                              {{#ifexpr: ({{{1}}} = 00) and ({{{2}}} = 00)|
         12:00 noon|                                                                                                                                                              {{#ifexpr: ({{{1}}} = 00) and ({{{2}}} = 00)|
Line 5: Line 5:
             {{#ifeq: {{#expr: {{{1}}} mod 12}} | 0 | 12 |                                                                           
             {{#ifeq: {{#expr: {{{1}}} mod 12}} | 0 | 12 |                                                                           
                 {{#expr: {{{1}}} mod 12}}
                 {{#expr: {{{1}}} mod 12}}
             }}:{{{2}}} {{#ifexpr: {{{1}}} < 12|AM|PM }}}}     
             }}:{{{2}}} {{#ifexpr: {{{1}}} < 12|AM|PM }}    
}}  
        }}     
)
}}

Revision as of 18:21, 15 March 2023

{{{1}}}:{{{2}}}

   Expression error: Unrecognized punctuation character "{".