Shorten date displayed in Collection List items for better layout

This commit is contained in:
Andrew Nicolaou 2019-09-11 20:06:08 +02:00
parent ee896b06ec
commit fef4bd8d71
1 changed files with 2 additions and 2 deletions

View File

@ -216,8 +216,8 @@ class CollectionListRowBase extends React.Component {
<th scope="row">
{this.renderCollectionName()}
</th>
<td>{format(new Date(collection.createdAt), 'MMM D, YYYY h:mm A')}</td>
<td>{format(new Date(collection.updatedAt), 'MMM D, YYYY h:mm A')}</td>
<td>{format(new Date(collection.createdAt), 'MMM D, YYYY')}</td>
<td>{format(new Date(collection.updatedAt), 'MMM D, YYYY')}</td>
<td>{(collection.items || []).length}</td>
<td className="sketch-list__dropdown-column">
{this.renderActions()}