Commit 639ea96b by zhongming4762

fix: resolve the issue of logout failure caused by the timezone store

1 parent 565be77e
......@@ -16,7 +16,7 @@ export function formatDate(time: FormatDate, format = 'YYYY-MM-DD') {
return date.tz().format(format);
} catch (error) {
console.error(`Error formatting date: ${error}`);
return time;
return String(time);
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!