Skip to content

Commit

Permalink
Editorial: Correct return type of GetDateTimeFormat
Browse files Browse the repository at this point in the history
Some of the DateTimeFormat internal slots may contain null instead of a
DateTime Format Record, if no relevant fields were given. That needs to
be reflected in the return type of this operation.
  • Loading branch information
ptomato committed Dec 5, 2024
1 parent 1f51073 commit 78a10fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/intl.html
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ <h1>
_required_: ~date~, ~time~, ~year-month~, ~month-day~, or ~any~,
_defaults_: ~date~, ~time~, ~year-month~, ~month-day~, ~zoned-date-time~, or ~all~,
_inherit_: ~all~ or ~relevant~,
): a DateTime Format Record
): a DateTime Format Record or *null*
</h1>
<dl class="header">
</dl>
Expand Down

0 comments on commit 78a10fe

Please sign in to comment.