Skip to content

Commit

Permalink
Editorial: Fix type of [[TimeZone]] and [[Calendar]] internal slots
Browse files Browse the repository at this point in the history
Since #2482, these can be strings as well as objects.

Thanks to Ms2ger for catching this.

Closes: #2714
  • Loading branch information
ptomato committed Nov 3, 2023
1 parent c2a1dae commit c69a2db
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion spec/plaindate.html
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ <h1>Properties of Temporal.PlainDate Instances</h1>
[[Calendar]]
</td>
<td>
An Object representing the calendar.
A String or Object representing the calendar.
</td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion spec/plaindatetime.html
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ <h1>Properties of Temporal.PlainDateTime Instances</h1>
[[Calendar]]
</td>
<td>
An Object representing the calendar.
A String or Object representing the calendar.
</td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion spec/plainmonthday.html
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ <h1>Properties of Temporal.PlainMonthDay Instances</h1>
[[Calendar]]
</td>
<td>
An Object representing the calendar.
A String or Object representing the calendar.
</td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion spec/plainyearmonth.html
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ <h1>Properties of Temporal.PlainYearMonth Instances</h1>
[[Calendar]]
</td>
<td>
An Object representing the calendar.
A String or Object representing the calendar.
</td>
</tr>
</tbody>
Expand Down
4 changes: 2 additions & 2 deletions spec/zoneddatetime.html
Original file line number Diff line number Diff line change
Expand Up @@ -1064,15 +1064,15 @@ <h1>Properties of Temporal.ZonedDateTime Instances</h1>
[[TimeZone]]
</td>
<td>
An Object representing the time zone.
A String or Object representing the time zone.
</td>
</tr>
<tr>
<td>
[[Calendar]]
</td>
<td>
An Object representing the calendar.
A String or Object representing the calendar.
</td>
</tr>
</tbody>
Expand Down

0 comments on commit c69a2db

Please sign in to comment.