Skip to content

Commit dd87ec0

Browse files
committed
fix: RFC without space
1 parent 5c2022d commit dd87ec0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

website/docs/contributing/docs.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Instead, include the expected format in the description and provide examples.
227227
To help users distinguish between dates (strings) and timestamps (integers),
228228
use the following terms consistently:
229229

230-
- Use **Date and time** for dates in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339) (ISO 8601) format.
230+
- Use **Date and time** for dates in [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) (ISO 8601) format.
231231
- Use **Timestamp** for timestamps in seconds or milliseconds since the [Unix epoch](https://en.wikipedia.org/wiki/Unix_time).
232232

233233
#### Example: date and time
@@ -244,18 +244,18 @@ createdAt:
244244
```
245245
246246
<details>
247-
<summary>RFC 3339 vs ISO 8601</summary>
247+
<summary>RFC3339 vs ISO 8601</summary>
248248
249-
RFC 3339 is slightly less ambiguous than ISO 8601 and leads to more readable dates.
250-
Since RFC 3339 is a _profile_ of ISO 8601,
251-
every RFC 3339 date also complies with ISO 8601,
252-
but not every ISO 8601 date complies with RFC 3339.
249+
RFC3339 is slightly less ambiguous than ISO 8601 and leads to more readable dates.
250+
Since RFC3339 is a _profile_ of ISO 8601,
251+
every RFC3339 date also complies with ISO 8601,
252+
but not every ISO 8601 date complies with RFC3339.
253253
254-
For example, `2024-04-06T00:00:00` conforms to both RFC 3339 and ISO 8601.
254+
For example, `2024-04-06T00:00:00` conforms to both RFC3339 and ISO 8601.
255255
But `20240406T000000` only conforms to ISO 8601, which allows omitting the `-` and `:` separators.
256256
257257
**Exception:** ISO 8601 requires date and time to be separated by `T`,
258-
whereas RFC 3339 permits a space character for the sake of readability.
258+
whereas RFC3339 permits a space character for the sake of readability.
259259
It's best to avoid this ambiguity.
260260
261261
</details>

0 commit comments

Comments
 (0)