{{tpl:EntryDate}}

Displays the date of the entry. By default, the date format is used as defined in administration interface of Dotclear.

This tag has to be used in the template tag <tpl:Entries> or in the file dans post.html in the template folder.

Attributes

Format

This attribute is an absolute format for date which does correspond to date formats. The date will be encoded using the mode of dc::str si les attributs iso8601 and rfc822 if it's not specified.

  • ex.
    {{tpl:EntryDate format="%d-%m-%Y"}}

    displays jj-mm-YYYY

iso8601

This specific attribute, if the format shall be format iso8601 or not

  • iso8601="1" ⇒ format iso8601 of the date

rfc822

This specific attribute, if the format shall be format rfc822

  • rfc822="1" ⇒ format rfc822 of the date
Example
<p class="entry-date">This entry was published on {{tpl:EntryDate}}.</p>

Wiki powered by Dokuwiki.