mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 04:27:42 +03:00
ensure export dates are timezone aware
This commit is contained in:
parent
049280e631
commit
d900cd4d50
@ -406,12 +406,14 @@ function CustomTimeSelector({
|
|||||||
config?.ui.time_format == "24hour"
|
config?.ui.time_format == "24hour"
|
||||||
? t("time.formattedTimestamp.24hour", { ns: "common" })
|
? t("time.formattedTimestamp.24hour", { ns: "common" })
|
||||||
: t("time.formattedTimestamp.12hour", { ns: "common" }),
|
: t("time.formattedTimestamp.12hour", { ns: "common" }),
|
||||||
|
config?.ui.timezone,
|
||||||
);
|
);
|
||||||
const formattedEnd = useFormattedTimestamp(
|
const formattedEnd = useFormattedTimestamp(
|
||||||
endTime,
|
endTime,
|
||||||
config?.ui.time_format == "24hour"
|
config?.ui.time_format == "24hour"
|
||||||
? t("time.formattedTimestamp.24hour", { ns: "common" })
|
? t("time.formattedTimestamp.24hour", { ns: "common" })
|
||||||
: t("time.formattedTimestamp.12hour", { ns: "common" }),
|
: t("time.formattedTimestamp.12hour", { ns: "common" }),
|
||||||
|
config?.ui.timezone,
|
||||||
);
|
);
|
||||||
|
|
||||||
const startClock = useMemo(() => {
|
const startClock = useMemo(() => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user