Difference between revisions of "Modèle:FormatDate"

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

Revision as of 14:52, 2 July 2018