diff --git a/app/src/components/Dashboard.tsx b/app/src/components/Dashboard.tsx index d2bca9e..d699efb 100644 --- a/app/src/components/Dashboard.tsx +++ b/app/src/components/Dashboard.tsx @@ -175,7 +175,7 @@ function Dashboard() { {logs.filter((log) => log.link === link.link).length || 0} {link.redirect_link} - {link.expire_date} + {new Date(link.expire_date).toLocaleDateString()} {/* Conditionally render logs for this link */} @@ -199,7 +199,15 @@ function Dashboard() { .map((log, index, filteredLogs) => ( {filteredLogs.length - index} - {log.timestamp} + + {new Date( + log.timestamp + ).toLocaleTimeString() + + ', ' + + new Date( + log.timestamp + ).toLocaleDateString()} + {log.ip} {log.location} {log.isp} diff --git a/app/src/styles/Dashboard.module.css b/app/src/styles/Dashboard.module.css index bfc852e..fbc1d6d 100644 --- a/app/src/styles/Dashboard.module.css +++ b/app/src/styles/Dashboard.module.css @@ -87,6 +87,7 @@ table td { .logTableRow table td { background-color: #3b4148; padding: 10px; + font-size: 17px; } .logTableRow table tr {