Split classes into upcoming and recent

This commit is contained in:
2020-01-10 07:39:05 +00:00
parent 6698c04e91
commit 027a5fdfc1
2 changed files with 56 additions and 38 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ export function CourseDetail(props) {
<Table.Row key={i}>
<Table.Cell>
<Link to={'/classes/'+x.id}>
{moment.utc(x.datetime).format('LL')}
{moment.utc(x.datetime).format('ll')}
</Link>
</Table.Cell>
<Table.Cell>{moment.utc(x.datetime).format('LT')}</Table.Cell>