add "joined" profile field

This commit is contained in:
Henry Jameson 2026-05-19 18:39:23 +03:00
commit 11bbf91d5c
4 changed files with 71 additions and 32 deletions

View file

@ -332,6 +332,18 @@ export default {
)
)
},
formattedBirthday() {
const browserLocale = localeService.internalToBrowserLocale(
this.$i18n.locale,
)
return (
this.user.created_at &&
new Date(Date.parse(this.user.created_at)).toLocaleDateString(
browserLocale,
{ timeZone: 'UTC', day: 'numeric', month: 'long', year: 'numeric' },
)
)
},
// Editable stuff
avatarImgSrc() {