mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 02:49:16 +01:00
refactor: 📝 Switch from ISO 8601 to RFC 3339
This commit is contained in:
parent
6796a31d2b
commit
a2c66d5b3a
6 changed files with 10 additions and 24 deletions
|
|
@ -29,8 +29,8 @@ Note that there is no `question` field: the question should be included in the `
|
|||
<Property name="multiple_choice" type="boolean" required="true">
|
||||
Whether the poll allows multiple votes to be cast for different options.
|
||||
</Property>
|
||||
<Property name="expires_at" type="ISO 8601" typeLink="/types#iso8601">
|
||||
ISO 8601 timestamp of when the poll ends and no more votes can be cast. If not present, the poll does not expire.
|
||||
<Property name="expires_at" type="RFC3339" typeLink="/types#rfc3339">
|
||||
RFC 3339 timestamp of when the poll ends and no more votes can be cast. If not present, the poll does not expire.
|
||||
</Property>
|
||||
</Properties>
|
||||
</Col>
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ All properties are optional.
|
|||
type LanguageCode = string;
|
||||
```
|
||||
</Property>
|
||||
<Property name="birthday" type="ISO8601" required={false} typeLink="/types#iso8601">
|
||||
<Property name="birthday" type="RFC3339" required={false} typeLink="/types#rfc3339">
|
||||
User's birthday. If year is left out or set to `0000`, implementations **SHOULD** not display the year.
|
||||
</Property>
|
||||
<Property name="location" type="string" required={false}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue