mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +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)}%)
|
||||
</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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user