Merge branch 'birth-dates' into 'develop'
Birthdays: Fix outgoing federation of birth dates See merge request pleroma/pleroma!3626
This commit is contained in:
commit
de99fd7804
1 changed files with 2 additions and 2 deletions
|
@ -93,8 +93,8 @@ defmodule Pleroma.Web.ActivityPub.UserView do
|
||||||
end
|
end
|
||||||
|
|
||||||
birthday =
|
birthday =
|
||||||
if user.show_birthday,
|
if user.show_birthday && user.birthday,
|
||||||
do: user.birthday,
|
do: Date.to_iso8601(user.birthday),
|
||||||
else: nil
|
else: nil
|
||||||
|
|
||||||
%{
|
%{
|
||||||
|
|
Loading…
Reference in a new issue