On Thu, 21 Oct 2004 02:11, Sergei Golovan wrote:
> On Wed, Oct 20, 2004 at 09:25:12AM +0100, Richard Dobson wrote:
> > You should be able to work out the age from the date of birth shouldnt
> > you?
>
> Many clients (Psi, Gaim etc.) treat birthday field as a text field. So it's
> not easy to parse the date, entered by user.

Is that not then a bug in the client, for failing to validate that the string 
which was entered is valid according to the JEP?  Hardly a good reason for 
adding a redundant element to the vCard.  (Who stops someone entering 
anything they want in this new age field, anyway?)

Failing that, Perl (and probably others) has a library for parsing 
human-entered dates.

TX

-- 
             Email: Trejkaz Xaoza <[EMAIL PROTECTED]>
          Web site: http://xaoza.net/
         Jabber ID: [EMAIL PROTECTED]
   GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73

Attachment: pgpzH2pZRySlI.pgp
Description: PGP signature

_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mail.jabber.org/mailman/listinfo/jdev

Reply via email to