File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 7878import { encodePath } from ' @nextcloud/paths'
7979import $ from ' jquery'
8080import axios from ' @nextcloud/axios'
81+ import moment from ' @nextcloud/moment'
82+
8183import AppSidebar from ' @nextcloud/vue/dist/Components/AppSidebar'
8284import ActionButton from ' @nextcloud/vue/dist/Components/ActionButton'
8385import EmptyContent from ' @nextcloud/vue/dist/Components/EmptyContent'
@@ -169,6 +171,14 @@ export default {
169171 return OC .Util .relativeModifiedDate (this .fileInfo .mtime )
170172 },
171173
174+ /**
175+ * File last modified full string
176+ * @returns {string}
177+ */
178+ fullTime () {
179+ return moment (this .fileInfo .mtime ).format (' LLL' )
180+ },
181+
172182 /**
173183 * File size formatted string
174184 * @returns {string}
@@ -202,6 +212,7 @@ export default {
202212 loading: this .loading ,
203213 starred: this .fileInfo .isFavourited ,
204214 subtitle: this .subtitle ,
215+ subtitleTooltip: this .fullTime ,
205216 title: this .fileInfo .name ,
206217 }
207218 } else if (this .error ) {
You can’t perform that action at this time.
0 commit comments