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