Skip to content

Commit

Permalink
fix nhour gen crontab
Browse files Browse the repository at this point in the history
  • Loading branch information
xxzuo committed Aug 3, 2024
1 parent a44e08b commit 6367ce3
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 6367ce3

Please sign in to comment.