Template:UF-date-part: Difference between revisions

splititng
(splititng)
Line 9:
Its use in hCard is for organisations, venues and similar; use {{tl|Birth date}} or {{tl|Birth date and age}} for people.
 
Similarly, {{tl|End date}} returns the date as [[HCalendar|hCalendar]]'s (<code>class="dtend"</code>). For example:
 
:<nowiki>(<span class="dtstart updated">1993-02-24</span>) and (<span class="dtstart updated">1993-02-24T08:30</span>)</nowiki>
 
and:
 
:<nowiki> (<span class="dtend">1993-02-24T08:30</span>)</nowiki>
 
(disable CSS or view source to see the hidden ISO-formatted output).
 
'''Note: due to the requirement exclusive "dtend" in [[hCalendar]], and the accessibility problems that presents when a date is rendered (as seen without CSS) as <tt>28 March 1999 (1999-03-29)</tt> or even <tt>28 February 1999 (1999-03-01)</tt> or <tt>31 December 1999 (2000-01-01)</tt>, the ''Date end'' template should '''not''' be used for whole-day dates and should have a time of 23:59:59.'''
 
See [[WP:UF|the microformats project]] for further details.