[jdev] newer version of vcard

Trejkaz Xaoza trejkaz at xaoza.net
Wed Oct 20 16:59:48 CDT 2004


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 <trejkaz at xaoza.net>
          Web site: http://xaoza.net/
         Jabber ID: trejkaz at jabber.xaoza.net
   GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20041021/2157bbe1/attachment-0002.pgp>


More information about the JDev mailing list