[foaf-dev] Suggestion for Birthday

Kless jonas.esp at googlemail.com
Sat Sep 13 21:43:27 CEST 2008


After of looking the Birthday issue [1] I remembered that OpenID [2]
solve it so:

date of birth as YYYY-MM-DD. Any values whose representation uses
fewer than the specified number of digits should be zero-padded. The
length of this value MUST always be 10. If the End User user does not
want to reveal any particular component of this value, it MUST be set
to zero.
For instance, if a End User wants to specify that his date of birth is
in 1980, but not the month or day, the value returned SHALL be
"1980-00-00".

So the developers could let enter any of these options: "YYYY" (for
year), "YYYY-mm" (year-month) or "mm-dd" (month-day)


[1] http://wiki.foaf-project.org/BirthdayIssue
[2] http://openid.net/specs/openid-simple-registration-extension-1_1-01.html


More information about the foaf-dev mailing list