mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
Set the timestamp options for the ui
This commit is contained in:
parent
3d2f4c0753
commit
27748d2b5b
@ -502,7 +502,7 @@ export default function Events({ path, ...props }) {
|
|||||||
({(event.top_score * 100).toFixed(0)}%)
|
({(event.top_score * 100).toFixed(0)}%)
|
||||||
</div>
|
</div>
|
||||||
<div className="text-sm">
|
<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()} (
|
{new Date(event.start_time * 1000).toLocaleTimeString()} (
|
||||||
{clipDuration(event.start_time, event.end_time)})
|
{clipDuration(event.start_time, event.end_time)})
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user