From 86deb67fd1597c5934b8a0b8b74c32c9452a5f17 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Fri, 9 Dec 2022 16:45:09 -0700 Subject: [PATCH] Fix default timezone --- frigate/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/http.py b/frigate/http.py index c741993ae..69085cf06 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -87,7 +87,7 @@ def is_healthy(): @bp.route("/events/summary") def events_summary(): - tz_name = request.args.get("timezone", default="localtime", type=str) + tz_name = request.args.get("timezone", default="utc", type=str) tz_offset = f"{int(datetime.now(pytz.timezone(tz_name)).utcoffset().total_seconds()/60/60)} hour" has_clip = request.args.get("has_clip", type=int) has_snapshot = request.args.get("has_snapshot", type=int)