Difference between revisions of "Template:PrettyDate"

From DAS Wiki
Line 3: Line 3:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
value
+
{{{1}}}
 
{{#ifeq:{{#len:{{{value|}}}}}|4|
 
{{#ifeq:{{#len:{{{value|}}}}}|4|
 
   {{#time:Y|{{{value|}}}}}|
 
   {{#time:Y|{{{value|}}}}}|

Revision as of 22:23, May 12, 2021

This is the PrettyDate template. It converts various date records to the January 1, 2021 format.