[Opendnssec-user] Weeks in Date Time durations
sion at nominet.org.uk
Thu May 24 08:38:10 UTC 2012
On 23/05/12 14:37, Fred Zwarts (KVI) wrote:
> In the documentation of the Date Time durations I see:
> Durations are represented by the format P[n]Y[n]M[n]DT[n]H[n]M[n]S. In
> these representations, the [n] is replaced by the value for each of
> the date and time elements that follow the [n]. Leading zeros are not
> required. The capital letters 'P', 'Y', 'M', 'W', 'D', 'T', 'H', 'M',
> and 'S' are designators for each of the date and time elements and are
> not replaced.
> Note that in the format, there is no W, but in the explanation it says:
> W is the week designator that follows the value for the number of weeks.
> It looks to me that the documentation is not consistent.
> I noticed that W is not accepted in kasp.xml. What is the rationale
> behind this? Or is it just a bug?
It is an omission. In ISO8601 weeks are only used by themselves, not in
combination with the other qualifiers, somewhere along the line we
missed this but that is not reflected in the documentation.
Thank you for spotting this.
More information about the Opendnssec-user