Skip to content

Commit ed49b0b

Browse files
linusgptomato
authored andcommitted
Editorial: Use consistent naming for this value
1 parent 03efe8a commit ed49b0b

File tree

6 files changed

+364
-364
lines changed

6 files changed

+364
-364
lines changed

spec/intl.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,10 +1766,10 @@ <h1>Temporal.PlainDate.prototype.toLocaleString ( [ _locales_ [ , _options_ ] ]
17661766
<p>This definition supersedes the definition provided in <emu-xref href="#sec-temporal.plaindate.prototype.tolocalestring"></emu-xref>.</p>
17671767
<p>This method performs the following steps when called:</p>
17681768
<emu-alg>
1769-
1. Let _temporalDate_ be the *this* value.
1770-
1. Perform ? RequireInternalSlot(_temporalDate_, [[InitializedTemporalDate]]).
1769+
1. Let _plainDate_ be the *this* value.
1770+
1. Perform ? RequireInternalSlot(_plainDate_, [[InitializedTemporalDate]]).
17711771
1. Let _dateFormat_ be ? CreateDateTimeFormat(%Intl.DateTimeFormat%, _locales_, _options_, ~date~, ~date~).
1772-
1. Return ? FormatDateTime(_dateFormat_, _temporalDate_).
1772+
1. Return ? FormatDateTime(_dateFormat_, _plainDate_).
17731773
</emu-alg>
17741774
</emu-clause>
17751775
</emu-clause>
@@ -1782,10 +1782,10 @@ <h1>Temporal.PlainDateTime.prototype.toLocaleString ( [ _locales_ [ , _options_
17821782
<p>This definition supersedes the definition provided in <emu-xref href="#sec-temporal.plaindatetime.prototype.tolocalestring"></emu-xref>.</p>
17831783
<p>This method performs the following steps when called:</p>
17841784
<emu-alg>
1785-
1. Let _dateTime_ be the *this* value.
1786-
1. Perform ? RequireInternalSlot(_dateTime_, [[InitializedTemporalDateTime]]).
1785+
1. Let _plainDateTime_ be the *this* value.
1786+
1. Perform ? RequireInternalSlot(_plainDateTime_, [[InitializedTemporalDateTime]]).
17871787
1. Let _dateFormat_ be ? CreateDateTimeFormat(%Intl.DateTimeFormat%, _locales_, _options_, ~any~, ~all~).
1788-
1. Return ? FormatDateTime(_dateFormat_, _dateTime_).
1788+
1. Return ? FormatDateTime(_dateFormat_, _plainDateTime_).
17891789
</emu-alg>
17901790
</emu-clause>
17911791
</emu-clause>
@@ -1798,10 +1798,10 @@ <h1>Temporal.PlainMonthDay.prototype.toLocaleString ( [ _locales_ [ , _options_
17981798
<p>This definition supersedes the definition provided in <emu-xref href="#sec-temporal.plainmonthday.prototype.tolocalestring"></emu-xref>.</p>
17991799
<p>This method performs the following steps when called:</p>
18001800
<emu-alg>
1801-
1. Let _monthDay_ be the *this* value.
1802-
1. Perform ? RequireInternalSlot(_monthDay_, [[InitializedTemporalMonthDay]]).
1801+
1. Let _plainMonthDay_ be the *this* value.
1802+
1. Perform ? RequireInternalSlot(_plainMonthDay_, [[InitializedTemporalMonthDay]]).
18031803
1. Let _dateFormat_ be ? CreateDateTimeFormat(%Intl.DateTimeFormat%, _locales_, _options_, ~date~, ~date~).
1804-
1. Return ? FormatDateTime(_dateFormat_, _monthDay_).
1804+
1. Return ? FormatDateTime(_dateFormat_, _plainMonthDay_).
18051805
</emu-alg>
18061806
</emu-clause>
18071807
</emu-clause>
@@ -1814,10 +1814,10 @@ <h1>Temporal.PlainTime.prototype.toLocaleString ( [ _locales_ [ , _options_ ] ]
18141814
<p>This definition supersedes the definition provided in <emu-xref href="#sec-temporal.plaintime.prototype.tolocalestring"></emu-xref>.</p>
18151815
<p>This method performs the following steps when called:</p>
18161816
<emu-alg>
1817-
1. Let _temporalTime_ be the *this* value.
1818-
1. Perform ? RequireInternalSlot(_temporalTime_, [[InitializedTemporalTime]]).
1817+
1. Let _plainTime_ be the *this* value.
1818+
1. Perform ? RequireInternalSlot(_plainTime_, [[InitializedTemporalTime]]).
18191819
1. Let _dateFormat_ be ? CreateDateTimeFormat(%Intl.DateTimeFormat%, _locales_, _options_, ~time~, ~time~).
1820-
1. Return ? FormatDateTime(_dateFormat_, _temporalTime_).
1820+
1. Return ? FormatDateTime(_dateFormat_, _plainTime_).
18211821
</emu-alg>
18221822
</emu-clause>
18231823
</emu-clause>
@@ -1830,10 +1830,10 @@ <h1>Temporal.PlainYearMonth.prototype.toLocaleString ( [ _locales_ [ , _options_
18301830
<p>This definition supersedes the definition provided in <emu-xref href="#sec-temporal.plainyearmonth.prototype.tolocalestring"></emu-xref>.</p>
18311831
<p>This method performs the following steps when called:</p>
18321832
<emu-alg>
1833-
1. Let _yearMonth_ be the *this* value.
1834-
1. Perform ? RequireInternalSlot(_yearMonth_, [[InitializedTemporalYearMonth]]).
1833+
1. Let _plainYearMonth_ be the *this* value.
1834+
1. Perform ? RequireInternalSlot(_plainYearMonth_, [[InitializedTemporalYearMonth]]).
18351835
1. Let _dateFormat_ be ? CreateDateTimeFormat(%Intl.DateTimeFormat%, _locales_, _options_, ~date~, ~date~).
1836-
1. Return ? FormatDateTime(_dateFormat_, _yearMonth_).
1836+
1. Return ? FormatDateTime(_dateFormat_, _plainYearMonth_).
18371837
</emu-alg>
18381838
</emu-clause>
18391839
</emu-clause>

0 commit comments

Comments
 (0)