This commit is contained in:
Pytal 2021-06-03 20:17:14 -07:00 committed by GitHub
commit e759b028d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 60 additions and 49 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -78,6 +78,8 @@
import { encodePath } from '@nextcloud/paths'
import $ from 'jquery'
import axios from '@nextcloud/axios'
import moment from '@nextcloud/moment'
import AppSidebar from '@nextcloud/vue/dist/Components/AppSidebar'
import ActionButton from '@nextcloud/vue/dist/Components/ActionButton'
import EmptyContent from '@nextcloud/vue/dist/Components/EmptyContent'
@ -169,6 +171,14 @@ export default {
return OC.Util.relativeModifiedDate(this.fileInfo.mtime)
},
/**
* File last modified full string
* @returns {string}
*/
fullTime() {
return moment(this.fileInfo.mtime).format('LLL')
},
/**
* File size formatted string
* @returns {string}
@ -202,6 +212,7 @@ export default {
loading: this.loading,
starred: this.fileInfo.isFavourited,
subtitle: this.subtitle,
subtitleTooltip: this.fullTime,
title: this.fileInfo.name,
}
} else if (this.error) {