Difference between revisions of "Modèle:FormatDate"

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

Revision as of 14:08, 2 July 2018