[html5] r927 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue Jun 19 15:24:14 PDT 2007


Author: ianh
Date: 2007-06-19 15:24:12 -0700 (Tue, 19 Jun 2007)
New Revision: 927

Modified:
   index
   source
Log:
[] (0) Fix the parsing of datetime timezones.

Modified: index
===================================================================
--- index	2007-06-19 10:13:29 UTC (rev 926)
+++ index	2007-06-19 22:24:12 UTC (rev 927)
@@ -5246,6 +5246,9 @@
      <li>If <var title="">timezone<sub title="">minutes</sub></var> is not a
       number in the range 0 ≤ <var title="">timezone<sub
       title="">minutes</sub></var> ≤ 59, then fail.
+
+     <li>If <var title="">sign</var> is "negative", then negate <var
+      title="">timezone<sub title="">minutes</sub></var>.
     </ol>
 
    <li>
@@ -5256,8 +5259,8 @@
     <p>Let <var title="">time</var> be the moment in time at year <var
      title="">year</var>, month <var title="">month</var>, day <var
      title="">day</var>, hours <var title="">hour</var>, minute <var
-     title="">minute</var>, second <var title="">second</var>, adding <var
-     title="">timezone<sub title="">hours</sub></var> hours and <var
+     title="">minute</var>, second <var title="">second</var>, subtracting
+     <var title="">timezone<sub title="">hours</sub></var> hours and <var
      title="">timezone<sub title="">minutes</sub></var> minutes. That moment
      in time is a moment in the UTC timezone.
 

Modified: source
===================================================================
--- source	2007-06-19 10:13:29 UTC (rev 926)
+++ source	2007-06-19 22:24:12 UTC (rev 927)
@@ -4028,6 +4028,9 @@
      title="">timezone<sub title="">minutes</sub></var> ≤ 59, then
      fail.</li>
 
+     <li>If <var title="">sign</var> is "negative", then negate <var
+     title="">timezone<sub title="">minutes</sub></var>.</li>
+
     </ol>
 
    </li>
@@ -4038,10 +4041,11 @@
    <li><p>Let <var title="">time</var> be the moment in time at year
    <var title="">year</var>, month <var title="">month</var>, day <var
    title="">day</var>, hours <var title="">hour</var>, minute <var
-   title="">minute</var>, second <var title="">second</var>, adding
-   <var title="">timezone<sub title="">hours</sub></var> hours and <var
-   title="">timezone<sub title="">minutes</sub></var> minutes. That moment in
-   time is a moment in the UTC timezone.</p></li>
+   title="">minute</var>, second <var title="">second</var>,
+   subtracting <var title="">timezone<sub title="">hours</sub></var>
+   hours and <var title="">timezone<sub title="">minutes</sub></var>
+   minutes. That moment in time is a moment in the UTC
+   timezone.</p></li>
 
    <li><p>Let <var title="">timezone</var> be <var
    title="">timezone<sub title="">hours</sub></var> hours and <var




More information about the Commit-Watchers mailing list