mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 16:27:33 +00:00
fix: dates
This commit is contained in:
parent
37a14adbd4
commit
267ef5b513
@ -89,10 +89,8 @@ limitations under the License. -->
|
|||||||
await queryMetrics();
|
await queryMetrics();
|
||||||
}
|
}
|
||||||
async function setDuration() {
|
async function setDuration() {
|
||||||
const dates: Date[] = [
|
const dates: Date[] = [new Date(new Date().getTime() - config.value.auto), new Date()];
|
||||||
getLocalTime(appStoreWithOut.utc, new Date(new Date().getTime() - config.value.auto)),
|
|
||||||
getLocalTime(appStoreWithOut.utc, new Date()),
|
|
||||||
];
|
|
||||||
appStoreWithOut.setDuration(timeFormat(dates));
|
appStoreWithOut.setDuration(timeFormat(dates));
|
||||||
}
|
}
|
||||||
async function setSelector() {
|
async function setSelector() {
|
||||||
|
Loading…
Reference in New Issue
Block a user