Fix date display for scheduled tasks; closes #2195

This commit is contained in:
Dane Everitt 2020-07-29 20:23:46 -07:00
parent 4a27e56e08
commit 4c558a8662
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -14,7 +14,7 @@ export default ({ schedule }: { schedule: Schedule }) => (
<p>{schedule.name}</p> <p>{schedule.name}</p>
<p css={tw`text-xs text-neutral-400`}> <p css={tw`text-xs text-neutral-400`}>
Last run Last run
at: {schedule.lastRunAt ? format(schedule.lastRunAt, 'MMM Do [at] h:mma') : 'never'} at: {schedule.lastRunAt ? format(schedule.lastRunAt, 'MMM do \'at\' h:mma') : 'never'}
</p> </p>
</div> </div>
<div css={tw`flex items-center mx-8`}> <div css={tw`flex items-center mx-8`}>