This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 3304ede [Feature][Workflow relationship] Format time. (#7123)
3304ede is described below
commit 3304edee47947e0b5a2a9445fe602133efc3d5d7
Author: songjianet <[email protected]>
AuthorDate: Fri Dec 3 10:02:33 2021 +0800
[Feature][Workflow relationship] Format time. (#7123)
---
.../home/pages/projects/pages/kinship/_source/graphGridOption.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js
b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js
index a63ddfb..907a54e 100644
---
a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js
+++
b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js
@@ -16,6 +16,7 @@
*/
import _ from 'lodash'
import i18n from '@/module/i18n/index.js'
+import dayjs from 'dayjs'
const getCategory = (categoryDic, { workFlowPublishStatus,
schedulePublishStatus, code }, sourceWorkFlowCode) => {
if (code === sourceWorkFlowCode) return categoryDic.active
@@ -72,8 +73,8 @@ export default function (locations, links,
sourceWorkFlowCode, isShowLabel) {
const { name, scheduleStartTime, scheduleEndTime, crontab,
workFlowPublishStatus, schedulePublishStatus } = params.data
return `
${i18n.$t('workflowName')}:${name}<br/>
- ${i18n.$t('scheduleStartTime')}:${scheduleStartTime}<br/>
- ${i18n.$t('scheduleEndTime')}:${scheduleEndTime}<br/>
+
${i18n.$t('scheduleStartTime')}:${dayjs(scheduleStartTime).format('YYYY-MM-DD
HH:mm:ss')}<br/>
+
${i18n.$t('scheduleEndTime')}:${dayjs(scheduleEndTime).format('YYYY-MM-DD
HH:mm:ss')}<br/>
${i18n.$t('crontabExpression')}:${crontab}<br/>
${i18n.$t('workflowPublishStatus')}:${publishStatusFormat(workFlowPublishStatus)}<br/>
${i18n.$t('schedulePublishStatus')}:${publishStatusFormat(schedulePublishStatus)}<br/>