fix: Date format

This commit is contained in:
Yiannis Christodoulou 2025-06-25 03:55:56 +03:00
parent 94c07d4531
commit ef485f1584

View File

@ -189,7 +189,7 @@ const TimelineControls = ({
// Format the timestamp for display // Format the timestamp for display
const date = new Date(response.timestamp); const date = new Date(response.timestamp);
const formattedTime = date const formattedTime = date
.toLocaleString("en-US", { .toLocaleString("en-GB", {
year: "numeric", year: "numeric",
month: "2-digit", month: "2-digit",
day: "2-digit", day: "2-digit",
@ -1184,7 +1184,7 @@ const TimelineControls = ({
if (savedData.updated_at) { if (savedData.updated_at) {
const date = new Date(savedData.updated_at); const date = new Date(savedData.updated_at);
const formattedTime = date const formattedTime = date
.toLocaleString("en-US", { .toLocaleString("en-GB", {
year: "numeric", year: "numeric",
month: "2-digit", month: "2-digit",
day: "2-digit", day: "2-digit",