diff --git a/src/ui/analyze-popup.vue b/src/ui/analyze-popup.vue
index 05558c3..e5fd2e5 100644
--- a/src/ui/analyze-popup.vue
+++ b/src/ui/analyze-popup.vue
@@ -13,7 +13,7 @@
- Zeitraum von {{ startTimeFormatted }} bis {{ endTimeFormatted }} {{ timeLenghtFormatted }} Sekunden
+ Zeitraum von {{ startTimeFormatted }} bis {{ endTimeFormatted }}, {{ durationFormatted }} Sekunden
@@ -45,6 +45,9 @@ export default {
endTimeFormatted () {
return new Date(this.timestamp.end).toLocaleString()
},
+ durationFormatted () {
+ return (this.timestamp.end - this.timestamp.start) / 1000
+ },
...mapState([
'timestamp'
])