diff --git a/src/pages/notification/component/ListNotification.jsx b/src/pages/notification/component/ListNotification.jsx index 5a590ed..3d57194 100644 --- a/src/pages/notification/component/ListNotification.jsx +++ b/src/pages/notification/component/ListNotification.jsx @@ -288,14 +288,16 @@ const ListNotification = memo(function ListNotification(props) { name: user.contact_name, phone: user.contact_phone, status: user.is_send ? 'Delivered' : 'Pending', - timestamp: user.created_at - ? new Date(user.created_at).toLocaleString('id-ID', { - day: '2-digit', - month: '2-digit', - year: 'numeric', - hour: '2-digit', - minute: '2-digit', - }) + ' WIB' + timestamp: user.updated_at + ? new Date(user.updated_at) + .toLocaleString('id-ID', { + day: '2-digit', + month: '2-digit', + year: 'numeric', + hour: '2-digit', + minute: '2-digit', + }) + .replace('.', ':') + ' WIB' : 'N/A', })); setUserHistoryData(transformedUsers);