changed time calculation

Signed-off-by: Jakob <jakob.roehrl@web.de>
This commit is contained in:
Jakob
2019-08-16 10:30:50 +02:00
parent 75189217b0
commit 35e7c7dbe7
2 changed files with 4 additions and 22 deletions

View File

@@ -108,8 +108,8 @@ export default {
return this.$store.getters.cardById(this.id)
},
subtitle() {
let lastModified = this.currentCard.lastModified
let createdAt = this.currentCard.createdAt
let lastModified = OC.Util.relativeModifiedDate(this.currentCard.lastModified * 1000)
let createdAt = OC.Util.relativeModifiedDate(this.currentCard.createdAt * 1000)
return t('deck', 'Modified') + ': ' + lastModified + ' ' + t('deck', 'Created') + ': ' + createdAt
},