mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-06 07:28:53 -05:00
fix: Date format
This commit is contained in:
parent
94c07d4531
commit
ef485f1584
@ -189,7 +189,7 @@ const TimelineControls = ({
|
||||
// Format the timestamp for display
|
||||
const date = new Date(response.timestamp);
|
||||
const formattedTime = date
|
||||
.toLocaleString("en-US", {
|
||||
.toLocaleString("en-GB", {
|
||||
year: "numeric",
|
||||
month: "2-digit",
|
||||
day: "2-digit",
|
||||
@ -1184,7 +1184,7 @@ const TimelineControls = ({
|
||||
if (savedData.updated_at) {
|
||||
const date = new Date(savedData.updated_at);
|
||||
const formattedTime = date
|
||||
.toLocaleString("en-US", {
|
||||
.toLocaleString("en-GB", {
|
||||
year: "numeric",
|
||||
month: "2-digit",
|
||||
day: "2-digit",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user