Skip to content

Commit

Permalink
Dumbed down the smart quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
meyerweb committed May 14, 2021
1 parent 0009a80 commit ec3974a
Show file tree
Hide file tree
Showing 97 changed files with 146 additions and 146 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
---
{{JSRef}}

<p class="summary"><span class="seoSummary">The <strong><code>dateAdd()</code></strong> method provides a way to do date arithmetic in the calendars reckoning.</span> This method does not need to be called directly except in specialized code. It is called indirectly when using the <code>add()</code> and <code>subtract()</code> methods of the <code>{{jsxref('Temporal.PlainDateTime','Temporal.PlainDateTime')}}</code>, <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code>, and <code>{{jsxref('Temporal.PlainYearMonth','Temporal.PlainYearMonth')}}</code> classes.</p>
<p class="summary"><span class="seoSummary">The <strong><code>dateAdd()</code></strong> method provides a way to do date arithmetic in the calendar's reckoning.</span> This method does not need to be called directly except in specialized code. It is called indirectly when using the <code>add()</code> and <code>subtract()</code> methods of the <code>{{jsxref('Temporal.PlainDateTime','Temporal.PlainDateTime')}}</code>, <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code>, and <code>{{jsxref('Temporal.PlainYearMonth','Temporal.PlainYearMonth')}}</code> classes.</p>


<h2 id="syntax">Syntax</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
---
{{JSRef}}

<p class="summary"><span class="seoSummary">The <strong><code>dateUntil()</code></strong> method provides a way to find the span of time between two datetimes in the calendars reckoning.</span> This method does not need to be called directly except in specialized code. It is called indirectly when using the <code>until()</code> and <code>since()</code> methods of the <code>{{jsxref('Temporal.PlainDateTime','Temporal.PlainDateTime')}}</code>, <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code>, and <code>{{jsxref('Temporal.PlainYearMonth','Temporal.PlainYearMonth')}}</code> classes.</p>
<p class="summary"><span class="seoSummary">The <strong><code>dateUntil()</code></strong> method provides a way to find the span of time between two datetimes in the calendar's reckoning.</span> This method does not need to be called directly except in specialized code. It is called indirectly when using the <code>until()</code> and <code>since()</code> methods of the <code>{{jsxref('Temporal.PlainDateTime','Temporal.PlainDateTime')}}</code>, <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code>, and <code>{{jsxref('Temporal.PlainYearMonth','Temporal.PlainYearMonth')}}</code> classes.</p>


<h2 id="syntax">Syntax</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ <h3 id="parameters">Parameters</h3>
<li><code>{{jsxref('Temporal/ZonedDateTime','Temporal.ZonedDateTime')}}</code></li>
<li><code>{{jsxref('Temporal/PlainMonthDay','Temporal.PlainMonthDay')}}</code></li>
</ul>
<p>If the parameters value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
<p>If the parameter's value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
</dd>
</dl>

<h2 id="return-value">Return value</h2>

<p>A number representing the dates day as determined by the dates calendar system.</p>
<p>A number representing the date's day as determined by the date's calendar system.</p>

<h2 id="examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ <h3 id="parameters">Parameters</h3>
<li><code>{{jsxref('Temporal/PlainDateTime','Temporal.PlainDateTime')}}</code></li>
<li><code>{{jsxref('Temporal/ZonedDateTime','Temporal.ZonedDateTime')}}</code></li>
</ul>
<p>If the parameters value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate/from','Temporal.PlainDate.from()')}}</code>.</p>
<p>If the parameter's value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate/from','Temporal.PlainDate.from()')}}</code>.</p>
</dd>
</dl>

<h2 id="return-value">Return value</h2>

<p>A number representing the dates day as determined by the dates calendar system.</p>
<p>A number representing the date's day as determined by the date's calendar system.</p>

<h2 id="examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ <h3 id="parameters">Parameters</h3>
<li><code>{{jsxref('Temporal/ZonedDateTime','Temporal.ZonedDateTime')}}</code></li>
<li><code>{{jsxref('Temporal/PlainYearMonth','Temporal.PlainYearMonth')}}</code></li>
</ul>
<p>If the parameters value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
<p>If the parameter's value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
</dd>
</dl>

<h2 id="return-value">Return value</h2>

<p>A number representing the dates day of the year as determined by the dates calendar system.</p>
<p>A number representing the date's day of the year as determined by the date's calendar system.</p>

<h2 id="examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ <h3 id="parameters">Parameters</h3>
<li><code>{{jsxref('Temporal/ZonedDateTime','Temporal.ZonedDateTime')}}</code></li>
<li><code>{{jsxref('Temporal/PlainYearMonth','Temporal.PlainYearMonth')}}</code></li>
</ul>
<p>If the parameters value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
<p>If the parameter's value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
</dd>
</dl>

<h2 id="return-value">Return value</h2>

<p>A number representing the days in the dates month as determined by the dates calendar system.</p>
<p>A number representing the days in the date's month as determined by the date's calendar system.</p>

<h2 id="examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ <h3 id="parameters">Parameters</h3>
<li><code>{{jsxref('Temporal/ZonedDateTime','Temporal.ZonedDateTime')}}</code></li>
<li><code>{{jsxref('Temporal/PlainYearMonth','Temporal.PlainYearMonth')}}</code></li>
</ul>
<p>If the parameters value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
<p>If the parameter's value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
</dd>
</dl>

<h2 id="return-value">Return value</h2>

<p>A number representing the days in the dates week as determined by the dates calendar system.</p>
<p>A number representing the days in the date's week as determined by the date's calendar system.</p>

<h2 id="examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ <h3 id="parameters">Parameters</h3>
<li><code>{{jsxref('Temporal/ZonedDateTime','Temporal.ZonedDateTime')}}</code></li>
<li><code>{{jsxref('Temporal/PlainYearMonth','Temporal.PlainYearMonth')}}</code></li>
</ul>
<p>If the parameters value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
<p>If the parameter's value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
</dd>
</dl>

<h2 id="return-value">Return value</h2>

<p>A number representing the days in the dates year as determined by the dates calendar system.</p>
<p>A number representing the days in the date's year as determined by the date's calendar system.</p>

<h2 id="examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ <h3 id="parameters">Parameters</h3>
<li><code>{{jsxref('Temporal/ZonedDateTime','Temporal.ZonedDateTime')}}</code></li>
<li><code>{{jsxref('Temporal/PlainYearMonth','Temporal.PlainYearMonth')}}</code></li>
</ul>
<p>If the parameters value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
<p>If the parameter's value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
</dd>
</dl>

<h2 id="return-value">Return value</h2>

<p>A string representing the dates era as determined by the dates calendar system, or <code>undefined</code> if there is no era associated with the date.
<p>A string representing the date's era as determined by the date's calendar system, or <code>undefined</code> if there is no era associated with the date.
The <code>iso8601</code> calendar has no eras, so <code>Temporal.Calendar.from('iso8601').era(date)</code> always returns <code>undefined</code>.</p>

<h2 id="examples">Examples</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ <h3 id="parameters">Parameters</h3>
<li><code>{{jsxref('Temporal/ZonedDateTime','Temporal.ZonedDateTime')}}</code></li>
<li><code>{{jsxref('Temporal/PlainYearMonth','Temporal.PlainYearMonth')}}</code></li>
</ul>
<p>If the parameters value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate/from','Temporal.PlainDate.from()')}}</code>.</p>
<p>If the parameter's value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate/from','Temporal.PlainDate.from()')}}</code>.</p>
</dd>
</dl>

<h2 id="return-value">Return value</h2>

<p>A number representing the dates year within its era as determined by the dates calendar system, or <code>undefined</code> if there is no era associated with the date.</p>
<p>A number representing the date's year within its era as determined by the date's calendar system, or <code>undefined</code> if there is no era associated with the date.</p>

<h2 id="examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<p class="summary"><span class="seoSummary">The <strong><code>Temporal.Calendar</code></strong> class provides an interface to represent a calendar system. A calendar system includes information about how many days are in each year, how many months are in each year, how many days are in each month, and how to do arithmetic in that system.</span></p>

<p>On the modern Internet, the most often used calendar system is the calendar standardized by <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a>, which is the same as the Gregorian calendar with the addition of week-numbering rules and the removal of eras. In general it is extended backwards (proleptically) to cover the period of history before its invention, which is an optional modification allowed by the ISO 8601 standard.</p>
<p>On the modern Internet, the most often used calendar system is the calendar standardized by <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a>, which is the same as the Gregorian calendar with the addition of week-numbering rules and the removal of eras. In general it is extended backwards ("proleptically") to cover the period of history before its invention, which is an optional modification allowed by the ISO 8601 standard.</p>

<p>However, the ISO 8601 calendar is not the only calendar in common use in the world. Some places use another calendar system as the main calendar, or have a separate calendar system as a commonly-used civil or religious calendar.</p>

Expand Down Expand Up @@ -80,9 +80,9 @@ <h2 id="instance_methods">Instance Methods</h2>
<dt><code>{{jsxref('Temporal/Calendar/monthDayFromFields','monthDayFromFields()')}}</code></dt>
<dd><p>Returns a new <code>{{jsxref('Temporal.PlainMonthDay','Temporal.PlainMonthDay')}}</code> object determined by the field values passed to it.</p></dd>
<dt><code>{{jsxref('Temporal/Calendar/dateAdd','dateAdd()')}}</code></dt>
<dd><p>Provides a way to do date arithmetic in the calendars reckoning.</p></dd>
<dd><p>Provides a way to do date arithmetic in the calendar's reckoning.</p></dd>
<dt><code>{{jsxref('Temporal/Calendar/dateUntil','dateUntil()')}}</code></dt>
<dd><p>Provides a way to find the span of time between two datetimes in the calendars reckoning.</p></dd>
<dd><p>Provides a way to find the span of time between two datetimes in the calendar's reckoning.</p></dd>
<dt><code>{{jsxref('Temporal/Calendar/fields','fields()')}}</code></dt>
<dd><p>Accepts an array of field names and returns an array fields that are strongly associated with the original array of fields in the current calendar.</p></dd>
<dt><code>{{jsxref('Temporal/Calendar/mergeFields','mergeFields()')}}</code></dt>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ <h3 id="parameters">Parameters</h3>
<li><code>{{jsxref('Temporal/ZonedDateTime','Temporal.ZonedDateTime')}}</code></li>
<li><code>{{jsxref('Temporal/PlainYearMonth','Temporal.PlainYearMonth')}}</code></li>
</ul>
<p>If the parameters value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
<p>If the parameter's value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
</dd>
</dl>

<h2 id="return-value">Return value</h2>

<p>A boolean indicating whether the supplied date occurs in a leap year as determined by the dates calendar system.</p>
<p>A boolean indicating whether the supplied date occurs in a leap year as determined by the date's calendar system.</p>

<h2 id="examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ <h3 id="parameters">Parameters</h3>
<li><code>{{jsxref('Temporal/ZonedDateTime','Temporal.ZonedDateTime')}}</code></li>
<li><code>{{jsxref('Temporal/PlainYearMonth','Temporal.PlainYearMonth')}}</code></li>
</ul>
<p>If the parameters value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
<p>If the parameter's value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
</dd>
</dl>

<h2 id="return-value">Return value</h2>

<p>A number representing the dates month as determined by the dates calendar system.</p>
<p>A number representing the date's month as determined by the date's calendar system.</p>

<h2 id="examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
---
{{JSRef}}

<p class="summary"><span class="seoSummary">The <strong><code>monthCode()</code></strong> method returns a string label for the month component of the supplied date, as determined by the calendar system associated with that date.</span> This is <strong>not</strong> the months common name, such as March, but instead a label for the month, such as M03.</p>
<p class="summary"><span class="seoSummary">The <strong><code>monthCode()</code></strong> method returns a string label for the month component of the supplied date, as determined by the calendar system associated with that date.</span> This is <strong>not</strong> the month's common name, such as "March", but instead a label for the month, such as "M03".</p>
<p>This method is called indirectly when reading the <code>monthCode</code> properties of the <code>{{jsxref('Temporal.ZonedDateTime','Temporal.ZonedDateTime')}}</code>, <code>{{jsxref('Temporal.PlainDateTime','Temporal.PlainDateTime')}}</code>, <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code>, <code>{{jsxref('Temporal.PlainMonthDay','Temporal.PlainMonthDay')}}</code>, and <code>{{jsxref('Temporal.PlainYearMonth','Temporal.PlainYearMonth')}}</code> classes. It is thus rare for developers to need to call <code>Temporal.Calendar.monthCode()</code> directly.</p>

<h2 id="syntax">Syntax</h2>
Expand All @@ -31,13 +31,13 @@ <h3 id="parameters">Parameters</h3>
<li><code>{{jsxref('Temporal/PlainYearMonth','Temporal.PlainYearMonth')}}</code></li>
<li><code>{{jsxref('Temporal/PlainMonthDay','Temporal.PlainMonthDay')}}</code></li>
</ul>
<p>If the parameters value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate/from','Temporal.PlainDate.from()')}}</code>.</p>
<p>If the parameter's value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate/from','Temporal.PlainDate.from()')}}</code>.</p>
</dd>
</dl>

<h2 id="return-value">Return value</h2>

<p>A string representing the dates month code as determined by the dates calendar system.</p>
<p>A string representing the date's month code as determined by the date's calendar system.</p>

<h2 id="examples">Examples</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ <h3 id="parameters">Parameters</h3>
<li><code>{{jsxref('Temporal/ZonedDateTime','Temporal.ZonedDateTime')}}</code></li>
<li><code>{{jsxref('Temporal/PlainYearMonth','Temporal.PlainYearMonth')}}</code></li>
</ul>
<p>If the parameters value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
<p>If the parameter's value is not one of those objects, it will be converted to a <code>{{jsxref('Temporal.PlainDate','Temporal.PlainDate')}}</code> as if it were passed to <code>{{jsxref('Temporal.PlainDate.from()','Temporal.PlainDate.from()')}}</code>.</p>
</dd>
</dl>

<h2 id="return-value">Return value</h2>

<p>A number representing the months in the dates year as determined by the dates calendar system.</p>
<p>A number representing the months in the date's year as determined by the date's calendar system.</p>

<h2 id="examples">Examples</h2>

Expand Down
Loading

0 comments on commit ec3974a

Please sign in to comment.