Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update time range in issue dashboard (#9388)

Danny Xuc4138becdf72
diff --git a/frontend/src/components/IssueV1/components/IssueSearch/ScopeTags.vue b/frontend/src/components/IssueV1/components/IssueSearch/ScopeTags.vue
index 55c3b913dd..05327cdd38 100644
--- a/frontend/src/components/IssueV1/components/IssueSearch/ScopeTags.vue
+++ b/frontend/src/components/IssueV1/components/IssueSearch/ScopeTags.vue
@@ -51,10 +51,7 @@ const tagProps = (scope: SearchScope): TagProps => {
const renderValue = (scope: SearchScope, index: number) => {
if (scope.id === "created") {
const [begin, end] = scope.value.split(",").map((ts) => parseInt(ts, 10));
- const format = "YYYY-MM-DD";
- return [dayjs(begin).format(format), dayjs(end).format(format)].join(
- " -> "
- );
+ return [dayjs(begin).format("L"), dayjs(end).format("L")].join("-");
}
return h("span", {}, scope.value);
};
diff --git a/frontend/src/components/Project/ProjectIssuesPanel.vue b/frontend/src/components/Project/ProjectIssuesPanel.vue
index 20cf9f2494..0c26070351 100644
--- a/frontend/src/components/Project/ProjectIssuesPanel.vue
+++ b/frontend/src/components/Project/ProjectIssuesPanel.vue
@@ -2,7 +2,7 @@
<div class="flex flex-col gap-y-2 -mt-4">
<IssueSearch
v-model:params="state.params"
- :components="['status', 'time-range']"
+ :components="['status']"
:component-props="
statusTabDisabled ? { status: { disabled: true } } : undefined
"
diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue
index fb99282cce..963a0d1ea9 100644
--- a/frontend/src/views/Home.vue
+++ b/frontend/src/views/Home.vue
@@ -2,7 +2,7 @@
<div class="flex flex-col">
<IssueSearch
v-model:params="state.params"
- :components="['status', 'time-range']"
+ :components="['status']"
:component-props="
statusTabDisabled ? { status: { disabled: true } } : undefined
"