Re: Parsing LDAP Generalized Time with DateTime::Format::ISO8601

2007-05-11 Thread Joshua Hoblitt
On Sat, May 05, 2007 at 08:57:16PM -0700, Jonathan Leffler wrote: I can't answer for the developers of DateTime::Format::ISO8601, but it is not clear that they are required to support the notation, though I suspect it would not be hard to do so, possibly by some specialized sub-class

Parsing LDAP Generalized Time with DateTime::Format::ISO8601

2007-05-04 Thread Ulrich Zehl
I need to parse date and time values that are encoded in the LDAP Generalized Time syntax. According to RFC 4517, Section 3.3.13, this syntax is a restriction of the format defined in [ISO 8601:2004]. Following the syntax rules, a sample date and time may be encoded as 20070502074805Z (Note the

Re: Parsing LDAP Generalized Time with DateTime::Format::ISO8601

2007-05-04 Thread Zefram
Ulrich Zehl wrote: Since I don't have access to the ISO standard, I cannot verify that the format as given in RFC 4517 is really standards compliant, It's conditionally compliant. The relevant paragraph of the standard reads: # NOTE By mutual agreement of the partners in information