Difference between revisions of "Template:PrettyDate"
From DAS Wiki
Line 2: | Line 2: | ||
This is the PrettyDate template. It converts various date records to the January 1, 2021 format. | This is the PrettyDate template. It converts various date records to the January 1, 2021 format. | ||
</noinclude> | </noinclude> | ||
− | <includeonly>{{#ifeq:{{#len:{{{value|}}}}}|4| | + | <includeonly> |
+ | value | ||
+ | {{#ifeq:{{#len:{{{value|}}}}}|4| | ||
{{#time:Y|{{{value|}}}}}| | {{#time:Y|{{{value|}}}}}| | ||
{{#if:{{#pos:{{{value|}}}|-}}| | {{#if:{{#pos:{{{value|}}}|-}}| |
Revision as of 22:20, May 12, 2021
This is the PrettyDate template. It converts various date records to the January 1, 2021 format.