diff --git a/src/MetricTimestamp.js b/src/MetricTimestamp.js index 6bd1256..90db1b3 100644 --- a/src/MetricTimestamp.js +++ b/src/MetricTimestamp.js @@ -52,4 +52,8 @@ export class MetricTimestamp { getValue () { return this.timeValue } + + getString () { + return new Date(this.getUnix()).toLocaleString() + } } diff --git a/src/components/analyzeTable.vue b/src/components/analyzeTable.vue index f7a39f1..c7dad3f 100644 --- a/src/components/analyzeTable.vue +++ b/src/components/analyzeTable.vue @@ -10,9 +10,6 @@ bordered caption-top > -