diff --git a/frontend/src/Components/item-card/item-card.jsx b/frontend/src/Components/item-card/item-card.jsx index df90405..3a05ff3 100644 --- a/frontend/src/Components/item-card/item-card.jsx +++ b/frontend/src/Components/item-card/item-card.jsx @@ -130,7 +130,7 @@ const ItemCard = ({ > { const { talks, @@ -25,8 +25,8 @@ const MyAccount = () => { switch (tabValue) { case 'Workshops': return ; - case 'Talks': - return ; + case 'Presentations': + return ; case 'Cart': return ; default: diff --git a/frontend/src/pages/workshops/WorkshopsPage.jsx b/frontend/src/pages/workshops/WorkshopsPage.jsx index 8348b02..4626b36 100644 --- a/frontend/src/pages/workshops/WorkshopsPage.jsx +++ b/frontend/src/pages/workshops/WorkshopsPage.jsx @@ -36,8 +36,8 @@ export default function WorkshopsPage() { description={e.desc && Helper.omitLongString(e.desc, 50)} purchaseState={0} presenterName={e.presenters.join(", ")} - startDate={e.start_date} - endDate={e.end_date} + startDate={new Date(e.start_date).toLocaleString()} + endDate={new Date(e.end_date).toLocaleString()} level={e.level} onClickAddToCart={() => addToCart({ id: e.id, diff --git a/frontend/src/providers/config-provider/ROUTES.jsx b/frontend/src/providers/config-provider/ROUTES.jsx index 1d829e6..4307776 100644 --- a/frontend/src/providers/config-provider/ROUTES.jsx +++ b/frontend/src/providers/config-provider/ROUTES.jsx @@ -23,9 +23,9 @@ const ROUTES = { component: , hideFromAppBar: true, }, - workshops: { - path: '/workshops', - title: 'Workshops', + talks: { + path: '/talks', + title: 'talks', component: , }, // committee: {