mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
chore: Only show hours and minutes in first login timestamp
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
9b2856affc
commit
a967968126
1 changed files with 7 additions and 1 deletions
|
|
@ -38,7 +38,13 @@ export default {
|
|||
},
|
||||
},
|
||||
setup(props) {
|
||||
const { formattedFullTime } = useFormatDateTime(props.user.firstLoginTimestamp * 1000, { relativeTime: false })
|
||||
const { formattedFullTime } = useFormatDateTime(props.user.firstLoginTimestamp * 1000, {
|
||||
relativeTime: false,
|
||||
format: {
|
||||
timeStyle: 'short',
|
||||
dateStyle: 'short',
|
||||
},
|
||||
})
|
||||
return {
|
||||
formattedFullTime,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue