Skip to content

Commit 5aaaf41

Browse files
author
Kerwin
committed
chore: time format
1 parent 6c74f84 commit 5aaaf41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/common/Setting/Audit.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ onMounted(() => {
7878
<div class="flex-1">
7979
<NInput
8080
:value="config && config.sensitiveWords"
81-
placeholder="One word per line"
81+
placeholder="一行一个敏感词 | One word per line"
8282
type="textarea"
8383
:autosize="{ minRows: 1, maxRows: 4 }"
8484
@input="(val) => { if (config) config.sensitiveWords = val }"

src/views/chat/components/Message/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function handleRegenerate() {
102102
</div>
103103
<div class="overflow-hidden text-sm " :class="[inversion ? 'items-end' : 'items-start']">
104104
<p class="text-xs text-[#b4bbc4]" :class="[inversion ? 'text-right' : 'text-left']">
105-
{{ dateTime }}
105+
{{ new Date(dateTime as string).toLocaleString() }}
106106
<template v-if="usage">
107107
<NPopover trigger="hover">
108108
<template #trigger>

0 commit comments

Comments
 (0)