I just posted this patch:
389ds may be interested in the ISO 8601 parser contained in the patch.
It offers two main advantages to the one already contained in the 389ds
1. It is *far* more flexible in what it can parse.
2. It is thoroughly tested (currently ~15k tests).