Commit d8e591e9 authored by spiritree's avatar spiritree Committed by ddcat1115

fix moment format (#799)

parent 0c9f5b0c
......@@ -77,7 +77,7 @@ export default class SearchList extends Component {
<div className={styles.description}>{content}</div>
<div className={styles.extra}>
<Avatar src={avatar} size="small" /><a href={href}>{owner}</a> ε‘εΈƒεœ¨ <a href={href}>{href}</a>
<em>{moment(updatedAt).format('YYYY-MM-DD hh:mm')}</em>
<em>{moment(updatedAt).format('YYYY-MM-DD HH:mm')}</em>
</div>
</div>
);
......
......@@ -66,7 +66,7 @@ export default class BasicList extends PureComponent {
</div>
<div className={styles.listContentItem}>
<span>开始既间</span>
<p>{moment(createdAt).format('YYYY-MM-DD hh:mm')}</p>
<p>{moment(createdAt).format('YYYY-MM-DD HH:mm')}</p>
</div>
<div className={styles.listContentItem}>
<Progress percent={percent} status={status} strokeWidth={6} style={{ width: 180 }} />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment