diff --git a/webapp_profile.py b/webapp_profile.py index 6a4f7f30c..5c9cf2689 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -664,6 +664,7 @@ def _get_profile_header(base_dir: str, http_prefix: str, nickname: str, actor_proxied + acct_blog_str + '
\n' if joined_date: joined_str = translate['Joined'] + print('time_days_ago 1: ' + joined_date + ' ' + str(time_days_ago(joined_date))) if time_days_ago(joined_date) < 7: joined_str = '' + translate['New account'] + '' html_str += \ @@ -821,6 +822,7 @@ def _get_profile_header_after_search(base_dir: str, actor_proxied + '
\n' if joined_date: joined_str = translate['Joined'] + print('time_days_ago 2: ' + joined_date + ' ' + str(time_days_ago(joined_date))) if time_days_ago(joined_date) < 7: joined_str = '' + translate['New account'] + '' html_str += '

' + joined_str + ' ' + \