diff --git a/application/src/components/view-orders/viewOrders.js b/application/src/components/view-orders/viewOrders.js index 86e67113..c338625e 100644 --- a/application/src/components/view-orders/viewOrders.js +++ b/application/src/components/view-orders/viewOrders.js @@ -33,7 +33,7 @@ class ViewOrders extends Component {
Ordered by: {order.ordered_by || ''}
Order placed at {`${createdDate.getHours()}:${createdDate.getMinutes()}:${createdDate.getSeconds()}`}
+Order placed at {`${createdDate.toTimeString().split(' ')[0]}`}
Quantity: {order.quantity}