mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
use12hour config arg
This commit is contained in:
parent
04dfe9e1e8
commit
a1a4254504
@ -508,7 +508,7 @@ export default function Events({ path, ...props }) {
|
||||
</div>
|
||||
<div className="text-sm flex">
|
||||
<Clock className="h-5 w-5 mr-2 inline" />
|
||||
{formatUnixTimestampToDateTime(event.start_time, locale, timezone)}
|
||||
{formatUnixTimestampToDateTime(event.start_time, locale, timezone, config.ui?.use12hour)}
|
||||
<div className="hidden md:inline">
|
||||
<span className="m-1">-</span>
|
||||
<TimeAgo time={event.start_time * 1000} dense />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user