Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

feat: show the start time with seconds of the app logs (#24267)

skayliu5867e6356dcd
diff --git a/web/app/components/app/workflow-log/list.tsx b/web/app/components/app/workflow-log/list.tsx
index b01c049d537..395df5da2b1 100644
--- a/web/app/components/app/workflow-log/list.tsx
+++ b/web/app/components/app/workflow-log/list.tsx
@@ -112,7 +112,7 @@ const WorkflowAppLogList: FC<ILogs> = ({ logs, appDetail, onRefresh }) => {
</div>
)}
</td>
- <td className='w-[160px] p-3 pr-2'>{formatTime(log.created_at, t('appLog.dateTimeFormat') as string)}</td>
+ <td className='w-[180px] p-3 pr-2'>{formatTime(log.created_at, t('appLog.dateTimeFormat') as string)}</td>
<td className='p-3 pr-2'>{statusTdRender(log.workflow_run.status)}</td>
<td className='p-3 pr-2'>
<div className={cn(
diff --git a/web/i18n/de-DE/app-log.ts b/web/i18n/de-DE/app-log.ts
index 2cbde8fdda7..9d63a582591 100644
--- a/web/i18n/de-DE/app-log.ts
+++ b/web/i18n/de-DE/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'Protokolle',
description: 'Die Protokolle zeichnen den Betriebsstatus der Anwendung auf, einschließlich Benutzereingaben und KI-Antworten.',
- dateTimeFormat: 'MM/DD/YYYY hh:mm A',
+ dateTimeFormat: 'MM/DD/YYYY hh:mm:ss A',
dateFormat: 'MM/DD/YYYY',
table: {
header: {
diff --git a/web/i18n/en-US/app-log.ts b/web/i18n/en-US/app-log.ts
index c4fb7dadab5..97773e6efd1 100644
--- a/web/i18n/en-US/app-log.ts
+++ b/web/i18n/en-US/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'Logs',
description: 'The logs record the running status of the application, including user inputs and AI replies.',
- dateTimeFormat: 'MM/DD/YYYY hh:mm A',
+ dateTimeFormat: 'MM/DD/YYYY hh:mm:ss A',
dateFormat: 'MM/DD/YYYY',
table: {
header: {
diff --git a/web/i18n/es-ES/app-log.ts b/web/i18n/es-ES/app-log.ts
index f05d9d21ba7..74ebee902ec 100644
--- a/web/i18n/es-ES/app-log.ts
+++ b/web/i18n/es-ES/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'Registros',
description: 'Los registros registran el estado de ejecución de la aplicación, incluyendo las entradas de usuario y las respuestas de la IA.',
- dateTimeFormat: 'MM/DD/YYYY hh:mm A',
+ dateTimeFormat: 'MM/DD/YYYY hh:mm:ss A',
table: {
header: {
updatedTime: 'Hora actualizada',
diff --git a/web/i18n/fa-IR/app-log.ts b/web/i18n/fa-IR/app-log.ts
index 8dadb821c8f..38f7267c6eb 100644
--- a/web/i18n/fa-IR/app-log.ts
+++ b/web/i18n/fa-IR/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'لاگ‌ها',
description: 'لاگ‌ها وضعیت اجرایی برنامه را ثبت می‌کنند، شامل ورودی‌های کاربر و پاسخ‌های هوش مصنوعی.',
- dateTimeFormat: 'MM/DD/YYYY hh:mm A',
+ dateTimeFormat: 'MM/DD/YYYY hh:mm:ss A',
table: {
header: {
updatedTime: 'زمان به‌روزرسانی',
diff --git a/web/i18n/fr-FR/app-log.ts b/web/i18n/fr-FR/app-log.ts
index e527874b3e0..50f2ff358d8 100644
--- a/web/i18n/fr-FR/app-log.ts
+++ b/web/i18n/fr-FR/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'Journaux',
description: 'Les journaux enregistrent l\'état d\'exécution de l\'application, y compris les entrées utilisateur et les réponses de l\'IA.',
- dateTimeFormat: 'MM/DD/YYYY hh:mm A',
+ dateTimeFormat: 'MM/DD/YYYY hh:mm:ss A',
table: {
header: {
updatedTime: 'Heure de mise à jour',
diff --git a/web/i18n/hi-IN/app-log.ts b/web/i18n/hi-IN/app-log.ts
index 76f6e7469ca..bb95b460527 100644
--- a/web/i18n/hi-IN/app-log.ts
+++ b/web/i18n/hi-IN/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'लॉग्स',
description: 'लॉग्स एप्लिकेशन के रनिंग स्टेटस को रिकॉर्ड करते हैं, जिसमें यूजर इनपुट और एआई रिप्लाईज़ शामिल हैं।',
- dateTimeFormat: 'MM/DD/YYYY hh:mm A',
+ dateTimeFormat: 'MM/DD/YYYY hh:mm:ss A',
table: {
header: {
updatedTime: 'अपडेट का समय',
diff --git a/web/i18n/it-IT/app-log.ts b/web/i18n/it-IT/app-log.ts
index 374e5b9ad48..8653b765bd1 100644
--- a/web/i18n/it-IT/app-log.ts
+++ b/web/i18n/it-IT/app-log.ts
@@ -2,7 +2,7 @@ const translation = {
title: 'Registri',
description:
'I registri registrano lo stato di esecuzione dell\'applicazione, inclusi input degli utenti e risposte AI.',
- dateTimeFormat: 'MM/DD/YYYY hh:mm A',
+ dateTimeFormat: 'MM/DD/YYYY hh:mm:ss A',
table: {
header: {
updatedTime: 'Ora di aggiornamento',
diff --git a/web/i18n/ja-JP/app-log.ts b/web/i18n/ja-JP/app-log.ts
index b64b5af3e31..db42d317f40 100644
--- a/web/i18n/ja-JP/app-log.ts
+++ b/web/i18n/ja-JP/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'ログ',
description: 'ログは、アプリケーションの実行状態を記録します。ユーザーの入力や AI の応答などが含まれます。',
- dateTimeFormat: 'YYYY/MM/DD hh:mm A',
+ dateTimeFormat: 'YYYY/MM/DD hh:mm:ss A',
dateFormat: 'YYYY/MM/DD',
table: {
header: {
diff --git a/web/i18n/ko-KR/app-log.ts b/web/i18n/ko-KR/app-log.ts
index bd7c2a39412..366d2cc1c23 100644
--- a/web/i18n/ko-KR/app-log.ts
+++ b/web/i18n/ko-KR/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: '로그',
description: '로그는 애플리케이션 실행 상태를 기록합니다. 사용자 입력 및 AI 응답이 포함됩니다.',
- dateTimeFormat: 'YYYY/MM/DD HH:mm',
+ dateTimeFormat: 'YYYY/MM/DD HH:mm:ss',
table: {
header: {
updatedTime: '업데이트 시간',
diff --git a/web/i18n/pl-PL/app-log.ts b/web/i18n/pl-PL/app-log.ts
index f622440a994..09fdb426fc3 100644
--- a/web/i18n/pl-PL/app-log.ts
+++ b/web/i18n/pl-PL/app-log.ts
@@ -2,7 +2,7 @@ const translation = {
title: 'Dzienniki',
description:
'Dzienniki rejestrują stan działania aplikacji, w tym dane wejściowe użytkowników i odpowiedzi AI.',
- dateTimeFormat: 'DD/MM/YYYY HH:mm',
+ dateTimeFormat: 'DD/MM/YYYY HH:mm:ss',
table: {
header: {
updatedTime: 'Czas aktualizacji',
diff --git a/web/i18n/pt-BR/app-log.ts b/web/i18n/pt-BR/app-log.ts
index 6a0332e1026..428291d8719 100644
--- a/web/i18n/pt-BR/app-log.ts
+++ b/web/i18n/pt-BR/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'Registros',
description: 'Os registros registram o status de execução do aplicativo, incluindo entradas do usuário e respostas do AI.',
- dateTimeFormat: 'MM/DD/YYYY hh:mm A',
+ dateTimeFormat: 'MM/DD/YYYY hh:mm:ss A',
table: {
header: {
updatedTime: 'Hora de atualização',
diff --git a/web/i18n/ro-RO/app-log.ts b/web/i18n/ro-RO/app-log.ts
index ac62faaf836..3f9609d8320 100644
--- a/web/i18n/ro-RO/app-log.ts
+++ b/web/i18n/ro-RO/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'Jurnale',
description: 'Jurnalele înregistrează starea de funcționare a aplicației, inclusiv intrările utilizatorilor și răspunsurile AI.',
- dateTimeFormat: 'DD/MM/YYYY hh:mm A',
+ dateTimeFormat: 'DD/MM/YYYY hh:mm:ss A',
table: {
header: {
updatedTime: 'Timp actualizare',
diff --git a/web/i18n/ru-RU/app-log.ts b/web/i18n/ru-RU/app-log.ts
index 7045064b37a..4ca48e723bf 100644
--- a/web/i18n/ru-RU/app-log.ts
+++ b/web/i18n/ru-RU/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'Логирование',
description: 'В логах записывается состояние работы приложения, включая пользовательский ввод и ответы ИИ.',
- dateTimeFormat: 'DD.MM.YYYY HH:mm',
+ dateTimeFormat: 'DD.MM.YYYY HH:mm:ss',
table: {
header: {
updatedTime: 'Время обновления',
diff --git a/web/i18n/sl-SI/app-log.ts b/web/i18n/sl-SI/app-log.ts
index a84b0330c1b..598f4f04c6a 100644
--- a/web/i18n/sl-SI/app-log.ts
+++ b/web/i18n/sl-SI/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'Dnevniki',
description: 'Dnevniki beležijo stanje delovanja aplikacije, vključno z vnosi uporabnikov in odgovori umetne inteligence.',
- dateTimeFormat: 'DD.MM.YYYY hh:mm A',
+ dateTimeFormat: 'DD.MM.YYYY hh:mm:ss A',
table: {
header: {
updatedTime: 'Čas posodobitve',
diff --git a/web/i18n/th-TH/app-log.ts b/web/i18n/th-TH/app-log.ts
index 25563cdea20..a4952afeb92 100644
--- a/web/i18n/th-TH/app-log.ts
+++ b/web/i18n/th-TH/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'บันทึก',
description: 'บันทึกบันทึกสถานะการทํางานของแอปพลิเคชัน รวมถึงการป้อนข้อมูลของผู้ใช้และการตอบกลับ AI',
- dateTimeFormat: 'MM/DD/YYYY hh:mm A',
+ dateTimeFormat: 'MM/DD/YYYY hh:mm:ss A',
table: {
header: {
updatedTime: 'อัพเดทเวลา',
diff --git a/web/i18n/uk-UA/app-log.ts b/web/i18n/uk-UA/app-log.ts
index 3d4b5ca0227..1d361150dbc 100644
--- a/web/i18n/uk-UA/app-log.ts
+++ b/web/i18n/uk-UA/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'Журнали',
description: 'Журнали фіксують робочий статус додатка, включаючи введення користувачів та відповіді штучного інтелекту.',
- dateTimeFormat: 'MM/DD/YYYY hh:mm A',
+ dateTimeFormat: 'MM/DD/YYYY hh:mm:ss A',
table: {
header: {
updatedTime: 'Час оновлення',
diff --git a/web/i18n/vi-VN/app-log.ts b/web/i18n/vi-VN/app-log.ts
index b80d484cb42..e53b98b004d 100644
--- a/web/i18n/vi-VN/app-log.ts
+++ b/web/i18n/vi-VN/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: 'Nhật ký',
description: 'Nhật ký ghi lại trạng thái hoạt động của ứng dụng, bao gồm đầu vào của người dùng và phản hồi của trí tuệ nhân tạo.',
- dateTimeFormat: 'MM/DD/YYYY hh:mm A',
+ dateTimeFormat: 'MM/DD/YYYY hh:mm:ss A',
table: {
header: {
updatedTime: 'Thời gian cập nhật',
diff --git a/web/i18n/zh-Hans/app-log.ts b/web/i18n/zh-Hans/app-log.ts
index 8f55bd2e917..51b7ebb1e01 100644
--- a/web/i18n/zh-Hans/app-log.ts
+++ b/web/i18n/zh-Hans/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: '日志',
description: '日志记录了应用的运行情况,包括用户的输入和 AI 的回复。',
- dateTimeFormat: 'YYYY-MM-DD HH:mm',
+ dateTimeFormat: 'YYYY-MM-DD HH:mm:ss',
dateFormat: 'YYYY-MM-DD',
table: {
header: {
diff --git a/web/i18n/zh-Hant/app-log.ts b/web/i18n/zh-Hant/app-log.ts
index c6541492814..9d577c682fa 100644
--- a/web/i18n/zh-Hant/app-log.ts
+++ b/web/i18n/zh-Hant/app-log.ts
@@ -1,7 +1,7 @@
const translation = {
title: '日誌',
description: '日誌記錄了應用的執行情況,包括使用者的輸入和 AI 的回覆。',
- dateTimeFormat: 'YYYY-MM-DD HH:mm',
+ dateTimeFormat: 'YYYY-MM-DD HH:mm:ss',
table: {
header: {
updatedTime: '更新時間',