mirror of
https://github.com/diaspora/diaspora.git
synced 2026-01-10 07:38:10 -05:00
use birthday as text.
This commit is contained in:
@@ -16,7 +16,7 @@ class ProfilesController < ApplicationController
|
||||
respond_to do |format|
|
||||
format.json { render :json => @person.as_api_response(:backbone).merge({
|
||||
:location => @person.profile.location,
|
||||
:birthday => @person.profile.birthday,
|
||||
:birthday => @person.profile.birthday.to_formatted_s(:long) ,
|
||||
}) }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user