Skip to content

Commit

Permalink
[e] (0) Clarify use of the term 'proleptic'.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20649
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7740 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 7, 2013
1 parent 1381685 commit 7ef81d8
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 30 deletions.
32 changes: 22 additions & 10 deletions complete.html
Expand Up @@ -4986,6 +4986,12 @@ <h4 id=dates-and-times><span class=secno>2.4.5 </span>Dates and times</h4>

</div>

<p>Where this specification refers to the <dfn id=proleptic-gregorian-calendar>proleptic Gregorian calendar</dfn>, it means the
modern Gregorian calendar, extrapolated backwards to year 1. A date in the <a href=#proleptic-gregorian-calendar>proleptic
Gregorian calendar</a>, sometimes explicitly referred to as a <dfn id=proleptic-gregorian-date>proleptic-Gregorian
date</dfn>, is one that is described using that calendar even if that calendar was not in use at
the time (or place) in question. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p class=note>The use of the Gregorian calendar as the wire format in this specification is an
arbitrary choice resulting from the cultural biases of those involved in the decision. See also
the section discussing <a href=#input-author-notes>date, time, and number formats</a> in forms
Expand All @@ -4995,7 +5001,8 @@ <h4 id=dates-and-times><span class=secno>2.4.5 </span>Dates and times</h4>

<h5 id=months><span class=secno>2.4.5.1 </span>Months</h5>

<p>A <dfn id=concept-month title=concept-month>month</dfn> consists of a specific proleptic Gregorian date with
<!--CLEANUP-->
<p>A <dfn id=concept-month title=concept-month>month</dfn> consists of a specific <a href=#proleptic-gregorian-date>proleptic-Gregorian date</a> with
no time-zone information and no date information beyond a year and a month. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p>A string is a <dfn id=valid-month-string>valid month string</dfn> representing a year <var title="">year</var> and
Expand Down Expand Up @@ -5054,7 +5061,8 @@ <h5 id=months><span class=secno>2.4.5.1 </span>Months</h5>

<h5 id=dates><span class=secno>2.4.5.2 </span>Dates</h5>

<p>A <dfn id=concept-date title=concept-date>date</dfn> consists of a specific proleptic Gregorian date with no
<!--CLEANUP-->
<p>A <dfn id=concept-date title=concept-date>date</dfn> consists of a specific <a href=#proleptic-gregorian-date>proleptic-Gregorian date</a> with no
time-zone information, consisting of a year, a month, and a day. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p>A string is a <dfn id=valid-date-string>valid date string</dfn> representing a year <var title="">year</var>, month
Expand Down Expand Up @@ -5297,8 +5305,9 @@ <h5 id=times><span class=secno>2.4.5.4 </span>Times</h5>

<h5 id=local-dates-and-times><span class=secno>2.4.5.5 </span>Local dates and times</h5>

<!--CLEANUP-->
<p>A <dfn id=concept-datetime-local title=concept-datetime-local>local date and time</dfn> consists of a specific
proleptic Gregorian date, consisting of a year, a month, and a day, and a time, consisting of an
<a href=#proleptic-gregorian-date>proleptic-Gregorian date</a>, consisting of a year, a month, and a day, and a time, consisting of an
hour, a minute, a second, and a fraction of a second, but expressed without a time zone. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p>A string is a <dfn id=valid-local-date-and-time-string>valid local date and time string</dfn> representing a date and time if it
Expand Down Expand Up @@ -5485,8 +5494,9 @@ <h5 id=time-zones><span class=secno>2.4.5.6 </span>Time zones</h5>

<h5 id=global-dates-and-times><span class=secno>2.4.5.7 </span>Global dates and times</h5>

<p>A <dfn id=concept-datetime title=concept-datetime>global date and time</dfn> consists of a specific proleptic
Gregorian date, consisting of a year, a month, and a day, and a time, consisting of an hour, a
<!--CLEANUP-->
<p>A <dfn id=concept-datetime title=concept-datetime>global date and time</dfn> consists of a specific <a href=#proleptic-gregorian-date>proleptic-Gregorian
date</a>, consisting of a year, a month, and a day, and a time, consisting of an hour, a
minute, a second, and a fraction of a second, expressed with a time-zone offset, consisting of a
signed number of hours and minutes. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

Expand Down Expand Up @@ -5538,12 +5548,13 @@ <h5 id=global-dates-and-times><span class=secno>2.4.5.7 </span>Global dates and
character. The string "<code title="">2001-12-21&nbsp;&nbsp;12:00Z</code>" (with two spaces
between the components) would not be parsed successfully.</li>

<!--CLEANUP-->
<li>To unambiguously identify a moment in time prior to the introduction of the Gregorian
calendar (insofar as moments in time before the formation of UTC can be unambiguously
identified), the date has to be first converted to the Gregorian calendar from the calendar in
use at the time (e.g. from the Julian calendar). The date of Nero's birth is the 15th of
December 37, in the Julian Calendar, which is the 13th of December 37 in the proleptic Gregorian
Calendar.</li> <!-- This might not be true. I can't find a reference that gives his birthday
December 37, in the Julian Calendar, which is the 13th of December 37 in the <a href=#proleptic-gregorian-calendar>proleptic Gregorian
calendar</a>.</li> <!-- This might not be true. I can't find a reference that gives his birthday
with an explicit statement about the calendar being used. However, it seems unlikely that it
would be given in the Gregorian calendar, so I assume sites use the Julian one. -->

Expand Down Expand Up @@ -5623,9 +5634,10 @@ <h5 id=weeks><span class=secno>2.4.5.8 </span>Weeks</h5>
1970. Consecutive weeks are numbered sequentially. The week before the number 1 week in a
week-year is the last week in the previous week-year, and vice versa. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<!--CLEANUP-->
<p>A week-year with a number <var title="">year</var> has 53 weeks if it corresponds to either a
year <var title="">year</var> in the proleptic Gregorian calendar that has a Thursday as its first
day (January 1st), or a year <var title="">year</var> in the proleptic Gregorian calendar that has
year <var title="">year</var> in the <a href=#proleptic-gregorian-calendar>proleptic Gregorian calendar</a> that has a Thursday as its first
day (January 1st), or a year <var title="">year</var> in the <a href=#proleptic-gregorian-calendar>proleptic Gregorian calendar</a> that has
a Wednesday as its first day (January 1st) and where <var title="">year</var> is a number
divisible by 400, or a number divisible by 4 but not by 100. All other week-years have 52
weeks.</p>
Expand All @@ -5634,7 +5646,7 @@ <h5 id=weeks><span class=secno>2.4.5.8 </span>Weeks</h5>
of the last day of a week-year with 52 weeks is 52.</p>

<p class=note>The week-year number of a particular day can be different than the number of the
year that contains that day in the proleptic Gregorian calendar. The first week in a week-year
year that contains that day in the <a href=#proleptic-gregorian-calendar>proleptic Gregorian calendar</a>. The first week in a week-year
<var title="">y</var> is the week that contains the first Thursday of the Gregorian year <var title="">y</var>.</p>

<p class=note>For modern purposes, a <a href=#concept-week title=concept-week>week</a> as defined here is
Expand Down
32 changes: 22 additions & 10 deletions index
Expand Up @@ -4986,6 +4986,12 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

</div>

<p>Where this specification refers to the <dfn id=proleptic-gregorian-calendar>proleptic Gregorian calendar</dfn>, it means the
modern Gregorian calendar, extrapolated backwards to year 1. A date in the <a href=#proleptic-gregorian-calendar>proleptic
Gregorian calendar</a>, sometimes explicitly referred to as a <dfn id=proleptic-gregorian-date>proleptic-Gregorian
date</dfn>, is one that is described using that calendar even if that calendar was not in use at
the time (or place) in question. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p class=note>The use of the Gregorian calendar as the wire format in this specification is an
arbitrary choice resulting from the cultural biases of those involved in the decision. See also
the section discussing <a href=#input-author-notes>date, time, and number formats</a> in forms
Expand All @@ -4995,7 +5001,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<h5 id=months><span class=secno>2.4.5.1 </span>Months</h5>

<p>A <dfn id=concept-month title=concept-month>month</dfn> consists of a specific proleptic Gregorian date with
<!--CLEANUP-->
<p>A <dfn id=concept-month title=concept-month>month</dfn> consists of a specific <a href=#proleptic-gregorian-date>proleptic-Gregorian date</a> with
no time-zone information and no date information beyond a year and a month. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p>A string is a <dfn id=valid-month-string>valid month string</dfn> representing a year <var title="">year</var> and
Expand Down Expand Up @@ -5054,7 +5061,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<h5 id=dates><span class=secno>2.4.5.2 </span>Dates</h5>

<p>A <dfn id=concept-date title=concept-date>date</dfn> consists of a specific proleptic Gregorian date with no
<!--CLEANUP-->
<p>A <dfn id=concept-date title=concept-date>date</dfn> consists of a specific <a href=#proleptic-gregorian-date>proleptic-Gregorian date</a> with no
time-zone information, consisting of a year, a month, and a day. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p>A string is a <dfn id=valid-date-string>valid date string</dfn> representing a year <var title="">year</var>, month
Expand Down Expand Up @@ -5297,8 +5305,9 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<h5 id=local-dates-and-times><span class=secno>2.4.5.5 </span>Local dates and times</h5>

<!--CLEANUP-->
<p>A <dfn id=concept-datetime-local title=concept-datetime-local>local date and time</dfn> consists of a specific
proleptic Gregorian date, consisting of a year, a month, and a day, and a time, consisting of an
<a href=#proleptic-gregorian-date>proleptic-Gregorian date</a>, consisting of a year, a month, and a day, and a time, consisting of an
hour, a minute, a second, and a fraction of a second, but expressed without a time zone. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p>A string is a <dfn id=valid-local-date-and-time-string>valid local date and time string</dfn> representing a date and time if it
Expand Down Expand Up @@ -5485,8 +5494,9 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<h5 id=global-dates-and-times><span class=secno>2.4.5.7 </span>Global dates and times</h5>

<p>A <dfn id=concept-datetime title=concept-datetime>global date and time</dfn> consists of a specific proleptic
Gregorian date, consisting of a year, a month, and a day, and a time, consisting of an hour, a
<!--CLEANUP-->
<p>A <dfn id=concept-datetime title=concept-datetime>global date and time</dfn> consists of a specific <a href=#proleptic-gregorian-date>proleptic-Gregorian
date</a>, consisting of a year, a month, and a day, and a time, consisting of an hour, a
minute, a second, and a fraction of a second, expressed with a time-zone offset, consisting of a
signed number of hours and minutes. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

Expand Down Expand Up @@ -5538,12 +5548,13 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
character. The string "<code title="">2001-12-21&nbsp;&nbsp;12:00Z</code>" (with two spaces
between the components) would not be parsed successfully.</li>

<!--CLEANUP-->
<li>To unambiguously identify a moment in time prior to the introduction of the Gregorian
calendar (insofar as moments in time before the formation of UTC can be unambiguously
identified), the date has to be first converted to the Gregorian calendar from the calendar in
use at the time (e.g. from the Julian calendar). The date of Nero's birth is the 15th of
December 37, in the Julian Calendar, which is the 13th of December 37 in the proleptic Gregorian
Calendar.</li> <!-- This might not be true. I can't find a reference that gives his birthday
December 37, in the Julian Calendar, which is the 13th of December 37 in the <a href=#proleptic-gregorian-calendar>proleptic Gregorian
calendar</a>.</li> <!-- This might not be true. I can't find a reference that gives his birthday
with an explicit statement about the calendar being used. However, it seems unlikely that it
would be given in the Gregorian calendar, so I assume sites use the Julian one. -->

Expand Down Expand Up @@ -5623,9 +5634,10 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
1970. Consecutive weeks are numbered sequentially. The week before the number 1 week in a
week-year is the last week in the previous week-year, and vice versa. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<!--CLEANUP-->
<p>A week-year with a number <var title="">year</var> has 53 weeks if it corresponds to either a
year <var title="">year</var> in the proleptic Gregorian calendar that has a Thursday as its first
day (January 1st), or a year <var title="">year</var> in the proleptic Gregorian calendar that has
year <var title="">year</var> in the <a href=#proleptic-gregorian-calendar>proleptic Gregorian calendar</a> that has a Thursday as its first
day (January 1st), or a year <var title="">year</var> in the <a href=#proleptic-gregorian-calendar>proleptic Gregorian calendar</a> that has
a Wednesday as its first day (January 1st) and where <var title="">year</var> is a number
divisible by 400, or a number divisible by 4 but not by 100. All other week-years have 52
weeks.</p>
Expand All @@ -5634,7 +5646,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
of the last day of a week-year with 52 weeks is 52.</p>

<p class=note>The week-year number of a particular day can be different than the number of the
year that contains that day in the proleptic Gregorian calendar. The first week in a week-year
year that contains that day in the <a href=#proleptic-gregorian-calendar>proleptic Gregorian calendar</a>. The first week in a week-year
<var title="">y</var> is the week that contains the first Thursday of the Gregorian year <var title="">y</var>.</p>

<p class=note>For modern purposes, a <a href=#concept-week title=concept-week>week</a> as defined here is
Expand Down
32 changes: 22 additions & 10 deletions source
Expand Up @@ -4056,6 +4056,12 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

</div>

<p>Where this specification refers to the <dfn>proleptic Gregorian calendar</dfn>, it means the
modern Gregorian calendar, extrapolated backwards to year 1. A date in the <span>proleptic
Gregorian calendar</span>, sometimes explicitly referred to as a <dfn>proleptic-Gregorian
date</dfn>, is one that is described using that calendar even if that calendar was not in use at
the time (or place) in question. <a href="#refsGREGORIAN">[GREGORIAN]</a></p>

<p class="note">The use of the Gregorian calendar as the wire format in this specification is an
arbitrary choice resulting from the cultural biases of those involved in the decision. See also
the section discussing <a href="#input-author-notes">date, time, and number formats</a> in forms
Expand All @@ -4065,7 +4071,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<h5>Months</h5>

<p>A <dfn title="concept-month">month</dfn> consists of a specific proleptic Gregorian date with
<!--CLEANUP-->
<p>A <dfn title="concept-month">month</dfn> consists of a specific <span>proleptic-Gregorian date</span> with
no time-zone information and no date information beyond a year and a month. <a
href="#refsGREGORIAN">[GREGORIAN]</a></p>

Expand Down Expand Up @@ -4142,7 +4149,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<h5>Dates</h5>

<p>A <dfn title="concept-date">date</dfn> consists of a specific proleptic Gregorian date with no
<!--CLEANUP-->
<p>A <dfn title="concept-date">date</dfn> consists of a specific <span>proleptic-Gregorian date</span> with no
time-zone information, consisting of a year, a month, and a day. <a
href="#refsGREGORIAN">[GREGORIAN]</a></p>

Expand Down Expand Up @@ -4464,8 +4472,9 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<h5>Local dates and times</h5>

<!--CLEANUP-->
<p>A <dfn title="concept-datetime-local">local date and time</dfn> consists of a specific
proleptic Gregorian date, consisting of a year, a month, and a day, and a time, consisting of an
<span>proleptic-Gregorian date</span>, consisting of a year, a month, and a day, and a time, consisting of an
hour, a minute, a second, and a fraction of a second, but expressed without a time zone. <a
href="#refsGREGORIAN">[GREGORIAN]</a></p>

Expand Down Expand Up @@ -4716,8 +4725,9 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<h5>Global dates and times</h5>

<p>A <dfn title="concept-datetime">global date and time</dfn> consists of a specific proleptic
Gregorian date, consisting of a year, a month, and a day, and a time, consisting of an hour, a
<!--CLEANUP-->
<p>A <dfn title="concept-datetime">global date and time</dfn> consists of a specific <span>proleptic-Gregorian
date</span>, consisting of a year, a month, and a day, and a time, consisting of an hour, a
minute, a second, and a fraction of a second, expressed with a time-zone offset, consisting of a
signed number of hours and minutes. <a href="#refsGREGORIAN">[GREGORIAN]</a></p>

Expand Down Expand Up @@ -4779,12 +4789,13 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
character. The string "<code title="">2001-12-21&nbsp;&nbsp;12:00Z</code>" (with two spaces
between the components) would not be parsed successfully.</li>

<!--CLEANUP-->
<li>To unambiguously identify a moment in time prior to the introduction of the Gregorian
calendar (insofar as moments in time before the formation of UTC can be unambiguously
identified), the date has to be first converted to the Gregorian calendar from the calendar in
use at the time (e.g. from the Julian calendar). The date of Nero's birth is the 15th of
December 37, in the Julian Calendar, which is the 13th of December 37 in the proleptic Gregorian
Calendar.</li> <!-- This might not be true. I can't find a reference that gives his birthday
December 37, in the Julian Calendar, which is the 13th of December 37 in the <span>proleptic Gregorian
calendar</span>.</li> <!-- This might not be true. I can't find a reference that gives his birthday
with an explicit statement about the calendar being used. However, it seems unlikely that it
would be given in the Gregorian calendar, so I assume sites use the Julian one. -->

Expand Down Expand Up @@ -4881,9 +4892,10 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
week-year is the last week in the previous week-year, and vice versa. <a
href="#refsGREGORIAN">[GREGORIAN]</a></p>

<!--CLEANUP-->
<p>A week-year with a number <var title="">year</var> has 53 weeks if it corresponds to either a
year <var title="">year</var> in the proleptic Gregorian calendar that has a Thursday as its first
day (January 1st), or a year <var title="">year</var> in the proleptic Gregorian calendar that has
year <var title="">year</var> in the <span>proleptic Gregorian calendar</span> that has a Thursday as its first
day (January 1st), or a year <var title="">year</var> in the <span>proleptic Gregorian calendar</span> that has
a Wednesday as its first day (January 1st) and where <var title="">year</var> is a number
divisible by 400, or a number divisible by 4 but not by 100. All other week-years have 52
weeks.</p>
Expand All @@ -4892,7 +4904,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
of the last day of a week-year with 52 weeks is 52.</p>

<p class="note">The week-year number of a particular day can be different than the number of the
year that contains that day in the proleptic Gregorian calendar. The first week in a week-year
year that contains that day in the <span>proleptic Gregorian calendar</span>. The first week in a week-year
<var title="">y</var> is the week that contains the first Thursday of the Gregorian year <var
title="">y</var>.</p>

Expand Down

0 comments on commit 7ef81d8

Please sign in to comment.