From fef4bd8d71dc8e35c2b34a6053b79b27f3932245 Mon Sep 17 00:00:00 2001 From: Andrew Nicolaou Date: Wed, 11 Sep 2019 20:06:08 +0200 Subject: [PATCH] Shorten date displayed in Collection List items for better layout --- .../IDE/components/CollectionList/CollectionListRow.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/modules/IDE/components/CollectionList/CollectionListRow.jsx b/client/modules/IDE/components/CollectionList/CollectionListRow.jsx index f720f628..73755359 100644 --- a/client/modules/IDE/components/CollectionList/CollectionListRow.jsx +++ b/client/modules/IDE/components/CollectionList/CollectionListRow.jsx @@ -216,8 +216,8 @@ class CollectionListRowBase extends React.Component { {this.renderCollectionName()} - {format(new Date(collection.createdAt), 'MMM D, YYYY h:mm A')} - {format(new Date(collection.updatedAt), 'MMM D, YYYY h:mm A')} + {format(new Date(collection.createdAt), 'MMM D, YYYY')} + {format(new Date(collection.updatedAt), 'MMM D, YYYY')} {(collection.items || []).length} {this.renderActions()}