[uf-discuss] Suggestion for Birthday

Tantek Celik tantek at cs.stanford.edu
Tue Sep 23 19:02:56 PDT 2008


Toby,

Thanks for investigating this and documenting it. Could you add your research and answers to the hCard FAQ?

http://microformats.org/wiki/hcard-faq

Thanks,

Tantek
-----Original Message-----
From: Toby A Inkster <mail at tobyinkster.co.uk>

Date: Mon, 22 Sep 2008 21:11:38 
To: <microformats-discuss at microformats.org>
Subject: [uf-discuss] Suggestion for Birthday


With Microformats, dates are in ISO 8601 format. ISO 8601 already  
allows for years without months or days. e.g.

	<span class="bday">1980</span>

And indeed with years and months, but no days:

	<span class="bday">1980-06</span>

Most microformat parsers already support these, so no need to go  
inventing some non-ISO format. ISO 8601 also offers a way of  
specifying months and days without a year:

	<span class="bday">--06-01</span>

Though this doesn't have such wide support.

-- 
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>



_______________________________________________
microformats-discuss mailing list
microformats-discuss at microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss



More information about the microformats-discuss mailing list