Difference between revisions of "Modèle:FormatDate"

 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#switch:{{#len:{{{1|}}}}}
 
{{#switch:{{#len:{{{1|}}}}}
|4=01/06/{{{1}}}
+
|4={{{1}}}
|7={{#sub:{{{1}}}|3|4}}/{{#sub:{{{1}}}|0|2}}/01
+
|6={{#sub:{{{1}}}|2|4}}-{{#sub:{{{1}}}|0|2}}
|10={{#sub:{{{1}}}|6|4}}/{{#sub:{{{1}}}|3|2}}/{{#sub:{{{1}}}|0|2}}
+
|8={{#sub:{{{1}}}|4|4}}-{{#sub:{{{1}}}|2|2}}-{{#sub:{{{1}}}|0|2}}
|default=2000/01/01
+
|default=2100-01-01
 
}}
 
}}

Latest revision as of 15:30, 29 August 2018