Set the timestamp options for the ui

This commit is contained in:
Nick Mowen 2022-06-06 06:54:27 -06:00
parent 3d2f4c0753
commit 27748d2b5b

View File

@ -502,7 +502,7 @@ export default function Events({ path, ...props }) {
({(event.top_score * 100).toFixed(0)}%)
</div>
<div className="text-sm">
{new Date(event.start_time * 1000).toLocaleDateString()}{' '}
{new Date(event.start_time * 1000).toLocaleTimeString([], {hour12: config.ui.timestamp.hour_12})}{' '}
{new Date(event.start_time * 1000).toLocaleTimeString()} (
{clipDuration(event.start_time, event.end_time)})
</div>