[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: date/time attributes



Ildar Mulyukov wrote:
On 26.03.2008 11:29:57, Ildar Mulyukov wrote:
	Hello again!

Can anyone point me to attributes designating date or/and time?
For example, is there a counterpart of VCard BDAY attribute?

Answering to myself: it's RFC4517 ( 1.3.6.1.4.1.1466.115.121.1.24 DESC 'Generalized Time' )

But I still fail to find any public attributes with SYNTAX
1.3.6.1.4.1.1466.115.121.1.24 in OpenLDAP.
But, if I'm not mistaken, this syntax IS implemented in OpenLDAP
(comparison rules etc.).

GeneralizedTime can be pretty inconvenient when all you want to store is a date (for a birthday, etc.) or only a time. There doesn't appear to be any standardized syntax just for these purposes. I recall lots of discussion of this topic on the LDAP lists and also the Mozilla Calendar discussion lists a long time ago. The problem being that GeneralizedTime requires both the date and time to be specified, and in a calendar application it's not clear that you actually want the time.


E.g., if all you want is for your calendar to remind you of someone's birthday, you just need it to tell you on that given day. Your calendar program might put up an alert at 00:01 local time on that date. But "00:01 local time" is a floating time, while GeneralizedTime requires a specific time zone...
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/