mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix relative timestamp in versions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
324efc00d6
commit
15a04ecaeb
1 changed files with 1 additions and 0 deletions
|
|
@ -155,6 +155,7 @@
|
|||
versionId: version.get('id'),
|
||||
formattedTimestamp: OC.Util.formatDate(timestamp),
|
||||
relativeTimestamp: OC.Util.relativeModifiedDate(timestamp),
|
||||
millisecondsTimestamp: timestamp,
|
||||
humanReadableSize: OC.Util.humanFileSize(size, true),
|
||||
altSize: n('files', '%n byte', '%n bytes', size),
|
||||
hasDetails: version.has('size'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue