Difference between revisions of "Template:ISOdate"
From Self-sufficiency
m |
|||
Line 16: | Line 16: | ||
| {{#ifeq: "{{{1}}}" | "{{#time: Y-m-d | {{{1|}}} }}" | | {{#ifeq: "{{{1}}}" | "{{#time: Y-m-d | {{{1|}}} }}" | ||
| {{date|{{#time: Y | {{{1}}} }}|{{#time: n | {{{1}}} }}|{{#time: j | {{{1}}} }}}} | | {{date|{{#time: Y | {{{1}}} }}|{{#time: n | {{{1}}} }}|{{#time: j | {{{1}}} }}}} | ||
− | | {{#ifexpr: {{#expr: {{{1}}} }} < 100 | + | | {{#ifexpr: ({{#time: y | {{{1}}} }} < 32) and ({{#time: j | {{{1}}} }} < 32) |
− | + | | {{{1|}}} | |
− | + | | {{#ifexpr: {{#expr: {{{1}}} }} < 100 | |
− | + | | {{#ifexpr: {{#time: Y | {{{1}}} }} >= 2000 | |
+ | | {{date| {{#expr: {{#time: Y | {{{1}}} }} - 2000 }} |{{#time: n | {{{1}}} }}|{{#time: j | {{{1}}} }}}} | ||
+ | | {{date| {{#expr: {{#time: Y | {{{1}}} }} - 1900 }} |{{#time: n | {{{1}}} }}|{{#time: j | {{{1}}} }}}} | ||
+ | }} | ||
+ | | {{date|{{#time: Y | {{{1}}} }}|{{#time: n | {{{1}}} }}}} | ||
}} | }} | ||
− | |||
}} | }} | ||
}} | }} |
Revision as of 14:33, 25 January 2009
[edit]
Documentation