mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-09 15:05:26 +03:00
formatting
This commit is contained in:
parent
4eba207c2e
commit
e323747cfc
@ -372,10 +372,7 @@ class TestGetDatetimeFromTimestamp(unittest.TestCase):
|
|||||||
exporter = _make_exporter()
|
exporter = _make_exporter()
|
||||||
exporter.config.ui.timezone = "America/New_York"
|
exporter.config.ui.timezone = "America/New_York"
|
||||||
# 2025-01-15 12:00:00 UTC is 07:00:00 EST
|
# 2025-01-15 12:00:00 UTC is 07:00:00 EST
|
||||||
assert (
|
assert exporter.get_datetime_from_timestamp(1736942400) == "2025-01-15 07:00:00"
|
||||||
exporter.get_datetime_from_timestamp(1736942400)
|
|
||||||
== "2025-01-15 07:00:00"
|
|
||||||
)
|
|
||||||
|
|
||||||
def test_falls_back_to_local_when_timezone_unset(self) -> None:
|
def test_falls_back_to_local_when_timezone_unset(self) -> None:
|
||||||
exporter = _make_exporter()
|
exporter = _make_exporter()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user