Skip to content

Commit 80e06a5

Browse files
committed
[Feature][Workflow relationship] Format time.
1 parent 9fffbdb commit 80e06a5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source

dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*/
1717
import _ from 'lodash'
1818
import i18n from '@/module/i18n/index.js'
19+
import dayjs from 'dayjs'
1920

2021
const getCategory = (categoryDic, { workFlowPublishStatus, schedulePublishStatus, code }, sourceWorkFlowCode) => {
2122
if (code === sourceWorkFlowCode) return categoryDic.active
@@ -72,8 +73,8 @@ export default function (locations, links, sourceWorkFlowCode, isShowLabel) {
7273
const { name, scheduleStartTime, scheduleEndTime, crontab, workFlowPublishStatus, schedulePublishStatus } = params.data
7374
return `
7475
${i18n.$t('workflowName')}${name}<br/>
75-
${i18n.$t('scheduleStartTime')}${scheduleStartTime}<br/>
76-
${i18n.$t('scheduleEndTime')}${scheduleEndTime}<br/>
76+
${i18n.$t('scheduleStartTime')}${dayjs(scheduleStartTime).format('YYYY-MM-DD HH:mm:ss')}<br/>
77+
${i18n.$t('scheduleEndTime')}${dayjs(scheduleEndTime).format('YYYY-MM-DD HH:mm:ss')}<br/>
7778
${i18n.$t('crontabExpression')}${crontab}<br/>
7879
${i18n.$t('workflowPublishStatus')}${publishStatusFormat(workFlowPublishStatus)}<br/>
7980
${i18n.$t('schedulePublishStatus')}${publishStatusFormat(schedulePublishStatus)}<br/>

0 commit comments

Comments
 (0)