add "joined" profile field
This commit is contained in:
parent
105d047cdd
commit
11bbf91d5c
4 changed files with 71 additions and 32 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue