mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 06:18:19 +01:00
feat: ✨ Support timezone in Vanity extension
This commit is contained in:
parent
32aa7cf164
commit
66a6331502
|
|
@ -32,6 +32,7 @@ This page lists changes since Working Draft 3. {{ className: 'lead' }}
|
||||||
- [Likes Extension](/extensions/likes), [Reactions Extension](/extensions/reactions) and [Share Extension](/extensions/share) now use this field, instead of a custom field in `extensions`.
|
- [Likes Extension](/extensions/likes), [Reactions Extension](/extensions/reactions) and [Share Extension](/extensions/share) now use this field, instead of a custom field in `extensions`.
|
||||||
- Allowed uppercase characters in [User](/entities/user) `username`.
|
- Allowed uppercase characters in [User](/entities/user) `username`.
|
||||||
- These are now case-insensitive.
|
- These are now case-insensitive.
|
||||||
|
- Added `timezone` field to [Vanity Extension](/extensions/vanity).
|
||||||
|
|
||||||
## Since WD 3
|
## Since WD 3
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,9 @@ All properties are optional.
|
||||||
|
|
||||||
Location does not need to be precise, and can be as simple as `+46+002/` (France) or `+48.52+002.20/` (Paris, France).
|
Location does not need to be precise, and can be as simple as `+46+002/` (France) or `+48.52+002.20/` (Paris, France).
|
||||||
</Property>
|
</Property>
|
||||||
|
<Property name="timezone" type="string" required={false}>
|
||||||
|
User's timezone. Should be a valid [IANA timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) string.
|
||||||
|
</Property>
|
||||||
<Property name="aliases" type="URI[]" required={false} typeLink="/types#uri">
|
<Property name="aliases" type="URI[]" required={false} typeLink="/types#uri">
|
||||||
Versia profiles that should be considered aliases of this profile.
|
Versia profiles that should be considered aliases of this profile.
|
||||||
</Property>
|
</Property>
|
||||||
|
|
@ -124,6 +127,7 @@ All properties are optional.
|
||||||
},
|
},
|
||||||
"birthday": "1998-04-12",
|
"birthday": "1998-04-12",
|
||||||
"location": "+40.6894-074.0447/",
|
"location": "+40.6894-074.0447/",
|
||||||
|
"timezone": "America/New_York",
|
||||||
"aliases": [
|
"aliases": [
|
||||||
"https://burger.social/accounts/349ee237-c672-41c1-aadc-677e185f795a",
|
"https://burger.social/accounts/349ee237-c672-41c1-aadc-677e185f795a",
|
||||||
"https://versia.social/users/f565ef02-035d-4974-ba5e-f62a8558331d"
|
"https://versia.social/users/f565ef02-035d-4974-ba5e-f62a8558331d"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue