summaryrefslogtreecommitdiffstats
path: root/core/js/oc-dialogs.js
diff options
context:
space:
mode:
authorRemco Brenninkmeijer <requist1@starmail.nl>2014-05-21 13:19:02 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-05-22 10:35:01 +0200
commit4f0370f1da1a99dd1fb24124a794666e2afe8db6 (patch)
treef6c8905e62b94cff704a3bc4dec8cf7d9e7f1c63 /core/js/oc-dialogs.js
parent0249c6d8c70944474016e29bfbcb452cce7fb504 (diff)
downloadnextcloud-server-4f0370f1da1a99dd1fb24124a794666e2afe8db6.tar.gz
nextcloud-server-4f0370f1da1a99dd1fb24124a794666e2afe8db6.zip
Fix for #8654
Diffstat (limited to 'core/js/oc-dialogs.js')
-rw-r--r--core/js/oc-dialogs.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index f6c17122d7d..54b9442af27 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -351,7 +351,7 @@ var OCdialogs = {
conflict.find('.filename').text(original.name);
conflict.find('.original .size').text(humanFileSize(original.size));
- conflict.find('.original .mtime').text(formatDate(original.mtime*1000));
+ conflict.find('.original .mtime').text(formatDate(original.mtime));
// ie sucks
if (replacement.size && replacement.lastModifiedDate) {
conflict.find('.replacement .size').text(humanFileSize(replacement.size));
@@ -374,9 +374,9 @@ var OCdialogs = {
//set more recent mtime bold
// ie sucks
- if (replacement.lastModifiedDate && replacement.lastModifiedDate.getTime() > original.mtime*1000) {
+ if (replacement.lastModifiedDate && replacement.lastModifiedDate.getTime() > original.mtime) {
conflict.find('.replacement .mtime').css('font-weight', 'bold');
- } else if (replacement.lastModifiedDate && replacement.lastModifiedDate.getTime() < original.mtime*1000) {
+ } else if (replacement.lastModifiedDate && replacement.lastModifiedDate.getTime() < original.mtime) {
conflict.find('.original .mtime').css('font-weight', 'bold');
} else {
//TODO add to same mtime collection?