diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-11-23 11:03:14 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-11-26 14:28:45 +0100 |
commit | 15a04ecaeb0c6b284bb706fee78bb40518b03fab (patch) | |
tree | e5ef67527e023997e263b5501755d741a5b3c534 /apps/files_versions/js | |
parent | 324efc00d6060caba93afbbd8f080302089451e8 (diff) | |
download | nextcloud-server-15a04ecaeb0c6b284bb706fee78bb40518b03fab.tar.gz nextcloud-server-15a04ecaeb0c6b284bb706fee78bb40518b03fab.zip |
Fix relative timestamp in versions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_versions/js')
-rw-r--r-- | apps/files_versions/js/versionstabview.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_versions/js/versionstabview.js b/apps/files_versions/js/versionstabview.js index 213ee1ae83c..a9470ad8393 100644 --- a/apps/files_versions/js/versionstabview.js +++ b/apps/files_versions/js/versionstabview.js @@ -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'), |