Skip to content

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

chore: use local timezone (#11360)

Liu Ji4a8c2a71ecbf
diff --git a/frontend/src/components/IssueV1/components/ActivitySection/Activity/ActionSentence.vue b/frontend/src/components/IssueV1/components/ActivitySection/Activity/ActionSentence.vue
index 2e6e657786..c6047d7f81 100644
--- a/frontend/src/components/IssueV1/components/ActivitySection/Activity/ActionSentence.vue
+++ b/frontend/src/components/IssueV1/components/ActivitySection/Activity/ActionSentence.vue
@@ -295,13 +295,14 @@ const renderActionSentence = () => {
) as ActivityTaskEarliestAllowedTimeUpdatePayload;
const newVal = payload.newEarliestAllowedTs;
const oldVal = payload.oldEarliestAllowedTs;
+ const timeFormat = "YYYY-MM-DD HH:mm:ss UTCZZ";
return h(
"span",
{},
t("activity.sentence.changed-from-to", {
name: t("task.rollout-time"),
- oldValue: oldVal ? dayjs(oldVal * 1000) : "Unset",
- newValue: newVal ? dayjs(newVal * 1000) : "Unset",
+ oldValue: oldVal ? dayjs(oldVal * 1000).format(timeFormat) : "Unset",
+ newValue: newVal ? dayjs(newVal * 1000).format(timeFormat) : "Unset",
})
);
}