Difference between revisions of "Template:MONTHNAME"

From The iPhone Wiki
Jump to: navigation, search
m (eh)
 
Line 1: Line 1:
 
<includeonly>{{#ifeq: {{{abbr|}}} | false
 
<includeonly>{{#ifeq: {{{abbr|}}} | false
| {{#switch: {{#expr: {{{1}}} mod 12 }}
+
| {{#switch: {{#expr: ({{{1}}} - 1) mod 12 + 1 }}
 
| 1 = January
 
| 1 = January
 
| 2 = February
 
| 2 = February
Line 14: Line 14:
 
| 12 = December
 
| 12 = December
 
}}
 
}}
| {{#switch: {{#expr: {{{1}}} mod 12 }}
+
| {{#switch: {{#expr: ({{{1}}} - 1) mod 12 + 1 }}
 
| 1 = Jan
 
| 1 = Jan
 
| 2 = Feb
 
| 2 = Feb

Latest revision as of 03:43, 13 March 2015