[Odrl-version2] Dates and times in constraints

Francis Cave francis at franciscave.com
Sun Jan 16 04:20:41 EST 2011


The format in the W3C note mandates the inclusion of the time zone, i.e.
+01:00 for UTC+1 hr, -01:00 for UTC-1hr, etc. I was simply abbreviating this
requirement.

 

Francis

 

 

 

From: Alapan [mailto:alapan at gmail.com] 
Sent: 15 January 2011 09:46
To: francis at franciscave.com; ODRL-Version2
Subject: Re: [Odrl-version2] Dates and times in constraints

 

What is the reason for the ±HH:MM?

Also - how does this format represent timezone?

Blog: http://idiots-mind.blogspot.com/
-------------------------------------------------------------
Life's a gamble - take a chance



On 10 January 2011 21:03, Francis Cave <francis at franciscave.com> wrote:

Following discussion in Namur, the Common Vocabulary now states that a
dateTime should conform to ISO 8601 as represented in W3C XML Schema. Stuart
Myles has suggested to me that in the ACAP profile we should consider
constraining this further so that date-times conform to
http://www.w3.org/TR/NOTE-datetime, i.e. making on the following forms
valid:

 

YYYY-MM-DD for dates

YYYY-MM-DDTHH:MM:SS±HH:MM for date-times

 

[In case this is garbled by your email reader, that’s a plus-minus between
‘SS’ and ‘HH’].

 

It may be that this additional constraint won’t make sense for the Common
Vocabulary, but I thought it worth mentioning.

 

Francis Cave


_______________________________________________
Odrl-version2 mailing list
Odrl-version2 at odrl.net
http://odrl.net/mailman/listinfo/odrl-version2_odrl.net

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://odrl.net/pipermail/odrl-version2_odrl.net/attachments/20110115/601c9487/attachment.html>


More information about the Odrl-version2 mailing list