logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: de99fd78042a44f42c8882e6620858c3efd39fce
parent 64944c164f8730c59c3a55e6c2e4b9e444254a9d
Author: Alex Gleason <alex@alexgleason.me>
Date:   Tue,  1 Feb 2022 15:21:34 +0000

Merge branch 'birth-dates' into 'develop'

Birthdays: Fix outgoing federation of birth dates

See merge request pleroma/pleroma!3626

Diffstat:

Mlib/pleroma/web/activity_pub/views/user_view.ex4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/pleroma/web/activity_pub/views/user_view.ex b/lib/pleroma/web/activity_pub/views/user_view.ex @@ -93,8 +93,8 @@ defmodule Pleroma.Web.ActivityPub.UserView do end birthday = - if user.show_birthday, - do: user.birthday, + if user.show_birthday && user.birthday, + do: Date.to_iso8601(user.birthday), else: nil %{