Using Moment.js in js how to change its prompt if the time is empty?

as shown in the figure, how to change Invalid date to a custom prompt

and how to align names and times in the step component of react


encapsulates a layer of function on the outside, and takes "Invalid Date" and replaces it with its own text


Center

<Step title="Finished" value={1} description={<div style={{ display: 'flex', justifyContent: 'center' }}>111</div>} />

isValid


ide-the-moment-js-default-invalid-date-text" rel=" nofollow noreferrer "> https://stackoverflow.com/que.

Menu