Use getPreferredSystemLocales for all timestamps

This commit is contained in:
Jamie Kyle 2023-07-17 08:21:52 -07:00 committed by Fedor Indutnyy
parent f400d39466
commit f798bc999c

View file

@ -170,7 +170,7 @@ export function formatTime(
});
}
return new Date(timestamp).toLocaleTimeString([], {
return formatTimestamp(timestamp, {
hour: 'numeric',
minute: '2-digit',
});