mirror of
https://github.com/openvk/openvk
synced 2024-12-23 09:01:15 +03:00
ActivityPub: Fix birthday format
This commit is contained in:
parent
f862b54f43
commit
6119b92dc2
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ final class UserPresenter extends OpenVKPresenter
|
|||
"firstName" => $user->getFirstName(),
|
||||
"lastName" => $user->getLastName(),
|
||||
"middleName" => $user->getPseudo(), // Unlike Smithereen, the Middle name in OpenVK is a Nickname
|
||||
"vcard:bday" => $user->getBirthday()->format('%d-%m-%Y'),
|
||||
"vcard:bday" => $user->getBirthday()->format('%Y-%m-%d'),
|
||||
"gender" => "http://schema.org#" . $user->isFemale() ? "Male" : "Female",
|
||||
"supportsFriendRequests" => true,
|
||||
"friends" => ovk_scheme(true) . $_SERVER['SERVER_NAME'] . "/friends" . $user->getId(),
|
||||
|
|
Loading…
Reference in a new issue