Change last refresh time display format to system locale

This commit is contained in:
muratoda
2026-02-19 23:33:18 +03:00
committed by GitHub
parent d62b0bd0a4
commit b730b8be35
+2 -3
View File
@@ -368,11 +368,10 @@ function App() {
const formatLastUpdate = (timestamp: string) => {
if (!timestamp) return '';
const date = new Date(timestamp);
return date.toLocaleTimeString('en-US', {
return date.toLocaleTimeString(undefined, {
hour: 'numeric',
minute: '2-digit',
second: '2-digit',
hour12: true
second: '2-digit'
});
};