Merge remote-tracking branch 'pleroma/develop' into merge-upstream

This commit is contained in:
Alex Gleason 2022-02-01 09:31:58 -06:00
commit a87b7b3046
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -93,8 +93,8 @@ def render("user.json", %{user: user}) do
end
birthday =
if user.show_birthday,
do: user.birthday,
if user.show_birthday && user.birthday,
do: Date.to_iso8601(user.birthday),
else: nil
%{