Use getPreferredSystemLocales for all timestamps
This commit is contained in:
parent
f400d39466
commit
f798bc999c
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ export function formatTime(
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Date(timestamp).toLocaleTimeString([], {
|
return formatTimestamp(timestamp, {
|
||||||
hour: 'numeric',
|
hour: 'numeric',
|
||||||
minute: '2-digit',
|
minute: '2-digit',
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue