Difference between revisions of "Modèle:FormatDate"

Line 1: Line 1:
 
{{#switch:{{#len:{{{1|}}}}}
 
{{#switch:{{#len:{{{1|}}}}}
 
|4={{{1}}}-06-01
 
|4={{{1}}}-06-01
|7={{#sub:{{{1}}}|2|4}}-{{#sub:{{{1}}}|0|2}}-01
+
|7={{#sub:{{{1}}}|3|4}}-{{#sub:{{{1}}}|0|2}}-01
 
|10={{#sub:{{{1}}}|5|4}}-{{#sub:{{{1}}}|2|2}}-{{#sub:{{{1}}}|5|2}}
 
|10={{#sub:{{{1}}}|5|4}}-{{#sub:{{{1}}}|2|2}}-{{#sub:{{{1}}}|5|2}}
 
|default=2000-01-01
 
|default=2000-01-01
 
}}
 
}}

Revision as of 14:36, 2 July 2018