Skip to content

Commit 19862d8

Browse files
committed
Return iso 8601 formatted start/end for duration.
1 parent 4b4ce4e commit 19862d8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/Inputs/TimeRange/TimeRange.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,7 @@ export default {
121121
},
122122
methods: {
123123
sendData() {
124-
this.$emit('valueChanged', {
125-
startTime: this.sleptAt.toISOString(),
126-
endTime: this.wokeAt.toISOString(),
127-
difference: this.timeSlept,
128-
});
124+
this.$emit('valueChanged', this.sleptAt.toISOString() + "/" + this.wokeAt.toISOString());
129125
},
130126
},
131127
watch: {

0 commit comments

Comments
 (0)