mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-21 21:31:28 +00:00
fix: dates
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user