Skip to content

Commit

Permalink
[Fix-425][UI] fix nhour gen crontab (datavane#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxzuo authored and zixi0825 committed Aug 22, 2024
1 parent 5ef349e commit e7a6024
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ const Schedule: React.FC<ScheduleProps> = ({ formRef, detail }) => {
return (
<>
<span style={{ ...commonStyle, marginRight: 5 }}>{getIntl('jobs_nhour_before')}</span>
{timeMap.nhour()}
<span style={{ ...commonStyle, margin: '0 5px' }}>:</span>
{timeMap.hour()}
<span style={{ ...commonStyle, marginRight: 5 }}>{getIntl('jobs_nhour_middle')}</span>
<span style={{ ...commonStyle, margin: '0 5px' }}>:</span>
{timeMap.minute()}
<span style={{ ...commonStyle, marginRight: 5 }}>{getIntl('jobs_nhour_middle')}</span>
{timeMap.nhour()}
<span style={{ ...commonStyle, marginLeft: 5 }}>{getIntl('jobs_nhour_after')}</span>
</>
);
Expand Down

0 comments on commit e7a6024

Please sign in to comment.