modified
From Textbook
<txp:modified />
The modified tag is a single tag which is used to return the modfication date of the article being displayed. The format is determined by the settings specified in the Date Format, or Archive Date Format, fields on the Basic Preferences tab.
Contents |
Attributes
Tag will accept the following attributes (case-sensitive):
- format="format string"
- Override the default date format set in the preferences.
- Values: any valid strftime() string values,
since,iso8601,w3cdtf, orrfc822. - Default: unset (date format set via preferences).
- gmt="boolean"
- Return either local time according to the set time zone preferences or GMT time.
- Default:
0(local time set in preferences). - lang="ISO language code"
- Format time string suitable for the specified language (locale).
- Values: locales adhere to ISO-639.
- Default: unset (time format set via preferences).
Examples
Example 1: Display "since" format date setting
<p>modified: <txp:modified format="since" /></p>
would result in:
<p>modified: 29 Days ago</p>
Example 2: Display custom date format
<p>modified: <txp:modified format="%b %d, %Y" /></p>
would result in:
<p>modified: May 28, 2005</p>
Genealogy
Version 4.0.7
- tag added.




