The standard allows both variants. The ContentDirectory:1 specification (which is what I'm trying to implement ATM) requires the variant with dashes though. So the current behaviour is not non-ISO, just non-what's-documented. And besides, it seems silly to omit the dashes but keep the colons (which are also allowed to be omitted by ISO 8601)...