diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2021-05-07 14:33:19 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2021-05-07 18:39:07 +0200 |
commit | e08b31a70624fe069d2f26bf2078a69e2d48f6aa (patch) | |
tree | 2d0f4954a3077e3e0bb2d02f671af41b69672e2a /app/javascript/flavours/glitch/features/account/components | |
parent | dbb942999c5c87b11c2e73abb7a7d79fbbb7ea77 (diff) |
[Glitch] Add joined date to profiles in web UI
Port 2c77d97e0d59e045a9b04fccc83f0f24d190d8d8 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/account/components')
-rw-r--r-- | app/javascript/flavours/glitch/features/account/components/header.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/account/components/header.js b/app/javascript/flavours/glitch/features/account/components/header.js index c18520c00..4b0494fff 100644 --- a/app/javascript/flavours/glitch/features/account/components/header.js +++ b/app/javascript/flavours/glitch/features/account/components/header.js @@ -328,6 +328,8 @@ class Header extends ImmutablePureComponent { )} {account.get('note').length > 0 && account.get('note') !== '<p></p>' && <div className='account__header__content translate' dangerouslySetInnerHTML={content} />} + + <div className='account__header__joined'><FormattedMessage id='account.joined' defaultMessage='Joined {date}' values={{ date: intl.formatDate(account.get('created_at'), { year: 'numeric', month: 'short', day: '2-digit' }) }} /></div> </div> </div> )} |