Skip to content

Commit 9c1a2bc

Browse files
gibson042ptomato
authored andcommitted
Editorial: Define and consistently use a "ISO 8601 / RFC 9557 string" term
1 parent 3c8d939 commit 9c1a2bc

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

spec/abstractops.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,8 +1016,8 @@ <h1>
10161016
<emu-clause id="sec-temporal-iso8601grammar">
10171017
<h1>RFC 9557 / ISO 8601 grammar</h1>
10181018
<p>
1019-
Several operations in this section are intended to parse RFC 9557 strings representing a date, a time, a duration, or a combined date and time.
1020-
For the purposes of these operations, a valid RFC 9557 string is defined as a string that can be generated by one of the goal elements of the following grammar.
1019+
Several operations in this section are intended to parse strings representing a date, a time, a duration, or a combined date and time.
1020+
For the purposes of these operations, a valid <dfn variants="ISO 8601 / RFC 9557 strings">ISO 8601 / RFC 9557 string</dfn> is defined as a string that can be generated by one of the goal elements of the following grammar.
10211021
</p>
10221022
<p>This grammar is adapted from the ABNF grammar of ISO 8601 that is given in appendix A of <a href="https://tools.ietf.org/html/rfc3339#appendix-A">RFC 3339</a>, augmented with the grammar of annotations in section 4.1 of <a href="https://datatracker.ietf.org/doc/html/rfc9557#name-abnf">RFC 9557</a></p>
10231023
<p>
@@ -1582,7 +1582,7 @@ <h1>
15821582
<dl class="header">
15831583
<dt>description</dt>
15841584
<dd>
1585-
It parses the argument either as an RFC 9557 string or bare calendar type, and returns the calendar type.
1585+
It parses the argument either as an ISO 8601 / RFC 9557 string or bare calendar type, and returns the calendar type.
15861586
The returned string is syntactically a valid calendar type, but not necessarily an existing one.
15871587
</dd>
15881588
</dl>
@@ -1711,7 +1711,7 @@ <h1>
17111711
<dl class="header">
17121712
<dt>description</dt>
17131713
<dd>
1714-
It parses the argument as either a time zone identifier or an RFC 9557 string.
1714+
It parses the argument as either a time zone identifier or an ISO 8601 / RFC 9557 string.
17151715
The returned Record's fields are set as follows:
17161716
<ul>
17171717
<li>If _timeZoneString_ is a named time zone identifier, then [[Name]] is _timeZoneString_ and [[OffsetMinutes]] is ~empty~.</li>

spec/calendar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ <h1>
779779
<dl class="header">
780780
<dt>description</dt>
781781
<dd>
782-
It returns a string with a calendar annotation suitable for concatenating to the end of an RFC 9557 string.
782+
It returns a string with a calendar annotation suitable for concatenating to the end of an ISO 8601 / RFC 9557 string.
783783
Depending on the given _id_ and value of _showCalendar_, the string may be empty if no calendar annotation need be included.
784784
</dd>
785785
</dl>

spec/mainadditions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ <h1>Time Zone Offset String <del>Format</del><ins>Formats</ins></h1>
508508
<p>[...]</p>
509509

510510
<emu-note type="editor">
511-
The grammar in this section should be deleted; it is replaced by the ISO 8601 / RFC 9557 String grammar in <emu-xref href="#sec-temporal-iso8601grammar"></emu-xref>.
511+
The grammar in this section should be deleted; it is replaced by the ISO 8601 / RFC 9557 string grammar in <emu-xref href="#sec-temporal-iso8601grammar"></emu-xref>.
512512
</emu-note>
513513
</emu-clause>
514514

spec/plaindate.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ <h1>
836836
</h1>
837837
<dl class="header">
838838
<dt>description</dt>
839-
<dd>It formats _temporalDate_ to an RFC 9557 string.</dd>
839+
<dd>It formats _temporalDate_ to an ISO 8601 / RFC 9557 string.</dd>
840840
</dl>
841841
<emu-alg>
842842
1. Let _year_ be PadISOYear(_temporalDate_.[[ISODate]].[[Year]]).

spec/plaindatetime.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ <h1>
896896
</h1>
897897
<dl class="header">
898898
<dt>description</dt>
899-
<dd>It formats an ISO Date-Time Record into an RFC 9557 string, to the precision specified by _precision_.</dd>
899+
<dd>It formats an ISO Date-Time Record into an ISO 8601 / RFC 9557 string, to the precision specified by _precision_.</dd>
900900
</dl>
901901
<emu-alg>
902902
1. Let _yearString_ be PadISOYear(_isoDateTime_.[[ISODate]].[[Year]]).

spec/plainmonthday.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ <h1>
350350
</h1>
351351
<dl class="header">
352352
<dt>description</dt>
353-
<dd>It formats _monthDay_ into an RFC 9557 string.</dd>
353+
<dd>It formats _monthDay_ into an ISO 8601 / RFC 9557 string.</dd>
354354
</dl>
355355
<emu-alg>
356356
1. Let _month_ be ToZeroPaddedDecimalString(_monthDay_.[[ISODate]].[[Month]], 2).

spec/plainyearmonth.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ <h1>
566566
</h1>
567567
<dl class="header">
568568
<dt>description</dt>
569-
<dd>It formats _yearMonth_ as an RFC 9557 string.</dd>
569+
<dd>It formats _yearMonth_ as an ISO 8601 / RFC 9557 string.</dd>
570570
</dl>
571571
<emu-alg>
572572
1. Let _year_ be PadISOYear(_yearMonth_.[[ISODate]].[[Year]]).

spec/zoneddatetime.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ <h1>
902902
In the case of more than one possible exact time, or no possible exact time, an answer is determined using _offsetBehaviour_, _disambiguation_ and _offsetOption_.
903903
</p>
904904
<p>
905-
As a special case when parsing RFC 9557 strings which are only required to specify time zone offsets to minutes precision, if _matchBehaviour_ is ~match minutes~, then a value for _offsetNanoseconds_ that is rounded to the nearest minute will be accepted in those cases where _offsetNanoseconds_ is compared against _timeZone_'s offset.
905+
As a special case when parsing ISO 8601 / RFC 9557 strings which are only required to specify time zone offsets to minutes precision, if _matchBehaviour_ is ~match minutes~, then a value for _offsetNanoseconds_ that is rounded to the nearest minute will be accepted in those cases where _offsetNanoseconds_ is compared against _timeZone_'s offset.
906906
If _matchBehaviour_ is ~match exactly~, then this does not happen.
907907
</p>
908908
</dd>
@@ -1052,7 +1052,7 @@ <h1>
10521052
<dl class="header">
10531053
<dt>description</dt>
10541054
<dd>
1055-
It returns an RFC 9557 string representation of its argument, including a time zone name annotation and calendar annotation, which are extensions to the ISO 8601 format.
1055+
It returns an ISO 8601 / RFC 9557 string representation of its argument, including a time zone name annotation and calendar annotation, which are extensions to the ISO 8601 format.
10561056
</dd>
10571057
</dl>
10581058
<emu-alg>

0 commit comments

Comments
 (0)