mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 04:27:42 +03:00
Don't use timezone in export dialog timestamps
Revert an unnecessary change made in https://github.com/blakeblackshear/frigate/pull/18257
This commit is contained in:
parent
2f9b373c1a
commit
8c9e8a26c4
@ -406,14 +406,12 @@ 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