[html5] r3098 - [c] (0) Clarify a requirement regarding dtend's syntax which I had missed when g [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu May 14 15:57:59 PDT 2009


Author: ianh
Date: 2009-05-14 15:57:59 -0700 (Thu, 14 May 2009)
New Revision: 3098

Modified:
   index
   source
Log:
[c] (0) Clarify a requirement regarding dtend's syntax which I had missed when going through vevent before.

Modified: index
===================================================================
--- index	2009-05-14 22:44:45 UTC (rev 3097)
+++ index	2009-05-14 22:57:59 UTC (rev 3098)
@@ -42670,21 +42670,23 @@
 
     <p>Gives the date and time by which the event ends.</p>
 
-    <p>The <a href=#concept-property-value title=concept-property-value>value</a> must be
-    text that is either a <a href=#valid-date-string>valid date string</a> or a
-    <a href=#valid-global-date-and-time-string>valid global date and time string</a>, and the value must
-    be later in time than the value of the <code title=md-event-dtstart>dtstart</code> property of the same <a href=#concept-item title=concept-item>item</a>.</p>
+    <p>If the property with the name <code title=md-vevent-dtend><a href=#md-vevent-dtend>dtend</a></code> is present within an <a href=#concept-item title=concept-item>item</a> with the type <code title=md-vevent><a href=#md-vevent>vevent</a></code> that has a property with the name
+    <code title=md-vevent-dtstart><a href=#md-vevent-dtstart>dtstart</a></code> whose value is a
+    <a href=#valid-date-string>valid date string</a>, then the <a href=#concept-property-value title=concept-property-value>value</a> of the property with
+    the name <code title=md-vevent-dtend><a href=#md-vevent-dtend>dtend</a></code> must be text
+    that is a <a href=#valid-date-string>valid date string</a> also. Otherwise, the
+    <a href=#concept-property-value title=concept-property-value>value</a> of the property
+    must be text that is a <a href=#valid-global-date-and-time-string>valid global date and time
+    string</a>.</p>
 
-<!--XXX
-   The "VEVENT" is also the calendar component used to specify an
-   anniversary or daily reminder within a calendar. These events have a
-   DATE value type for the "DTSTART" property instead of the default
-   data type of DATE-TIME. If such a "VEVENT" has a "DTEND" property, it
-   MUST be specified as a DATE value also. The anniversary type of
-   "VEVENT" can span more than one date (i.e, "DTEND" property value is
-   set to a calendar date after the "DTSTART" property value).
--->
+    <p>In either case, the <a href=#concept-property-value title=concept-property-value>value</a> be later in time than
+    the value of the <code title=md-event-dtstart>dtstart</code>
+    property of the same <a href=#concept-item title=concept-item>item</a>.</p>
 
+    <p class=note>The time given by the <code title=md-vevent-dtend><a href=#md-vevent-dtend>dtend</a></code> property is not
+    inclusive. For day-long events, therefore, the the <code title=md-vevent-dtend><a href=#md-vevent-dtend>dtend</a></code> property's <a href=#concept-property-value title=concept-property-value>value</a> will be the day
+    <em>after</em> the end of the event.</p>
+
     <p>A single property with the name <code title=md-vevent-dtend><a href=#md-vevent-dtend>dtend</a></code> may be present within each
     <a href=#concept-item title=concept-item>item</a> with the type <code title=md-vevent><a href=#md-vevent>vevent</a></code>, so long as that <code title=md-vevent><a href=#md-vevent>vevent</a></code> does not have a property with the
     name <code title=md-vevent-duration><a href=#md-vevent-duration>duration</a></code>.</p>

Modified: source
===================================================================
--- source	2009-05-14 22:44:45 UTC (rev 3097)
+++ source	2009-05-14 22:57:59 UTC (rev 3098)
@@ -48281,23 +48281,31 @@
 
     <p>Gives the date and time by which the event ends.</p>
 
-    <p>The <span title="concept-property-value">value</span> must be
-    text that is either a <span>valid date string</span> or a
-    <span>valid global date and time string</span>, and the value must
-    be later in time than the value of the <code
-    title="md-event-dtstart">dtstart</code> property of the same <span
-    title="concept-item">item</span>.</p>
+    <p>If the property with the name <code
+    title="md-vevent-dtend">dtend</code> is present within an <span
+    title="concept-item">item</span> with the type <code
+    title="md-vevent">vevent</code> that has a property with the name
+    <code title="md-vevent-dtstart">dtstart</code> whose value is a
+    <span>valid date string</span>, then the <span
+    title="concept-property-value">value</span> of the property with
+    the name <code title="md-vevent-dtend">dtend</code> must be text
+    that is a <span>valid date string</span> also. Otherwise, the
+    <span title="concept-property-value">value</span> of the property
+    must be text that is a <span>valid global date and time
+    string</span>.</p>
 
-<!--XXX
-   The "VEVENT" is also the calendar component used to specify an
-   anniversary or daily reminder within a calendar. These events have a
-   DATE value type for the "DTSTART" property instead of the default
-   data type of DATE-TIME. If such a "VEVENT" has a "DTEND" property, it
-   MUST be specified as a DATE value also. The anniversary type of
-   "VEVENT" can span more than one date (i.e, "DTEND" property value is
-   set to a calendar date after the "DTSTART" property value).
--->
+    <p>In either case, the <span
+    title="concept-property-value">value</span> be later in time than
+    the value of the <code title="md-event-dtstart">dtstart</code>
+    property of the same <span title="concept-item">item</span>.</p>
 
+    <p class="note">The time given by the <code
+    title="md-vevent-dtend">dtend</code> property is not
+    inclusive. For day-long events, therefore, the the <code
+    title="md-vevent-dtend">dtend</code> property's <span
+    title="concept-property-value">value</span> will be the day
+    <em>after</em> the end of the event.</p>
+
     <p>A single property with the name <code
     title="md-vevent-dtend">dtend</code> may be present within each
     <span title="concept-item">item</span> with the type <code




More information about the Commit-Watchers mailing list