mirror of https://github.com/statping/statping
start/end time
parent
79918d025d
commit
ec528befcf
|
@ -1,5 +1,6 @@
|
|||
# 0.90.66 (09-08-2020)
|
||||
- Added Import and Export views in Dashboard
|
||||
- Modified services list sparkline to use start/end of day timestamp
|
||||
|
||||
# 0.90.65 (09-01-2020)
|
||||
- Fixed issue with dashboard not logging in (notifier panic)
|
||||
|
|
|
@ -153,7 +153,10 @@ export default {
|
|||
group = "24h"
|
||||
}
|
||||
|
||||
const data = await Api.service_failures_data(this.service.id, this.toUnix(this.nowSubtract(start)), this.toUnix(this.now()), group, true)
|
||||
const startTime = this.beginningOf("day", this.nowSubtract(start))
|
||||
const endTime = this.endOf("day", this.now())
|
||||
|
||||
const data = await Api.service_failures_data(this.service.id, this.toUnix(startTime), this.toUnix(endTime), group, true)
|
||||
this.loaded = true
|
||||
this.data = [{data: this.convertChartData(data)}]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue