mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-19 19:06:16 +01:00
Disambiguate 12h export filename timestamp (#7340)
* Add AM/PM to exported video filename * Switch to 24h time
This commit is contained in:
parent
7d3e5c9c4c
commit
e941012d48
@ -42,7 +42,7 @@ class RecordingExporter(threading.Thread):
|
||||
|
||||
def get_datetime_from_timestamp(self, timestamp: int) -> str:
|
||||
"""Convenience fun to get a simple date time from timestamp."""
|
||||
return datetime.datetime.fromtimestamp(timestamp).strftime("%Y_%m_%d_%I:%M")
|
||||
return datetime.datetime.fromtimestamp(timestamp).strftime("%Y_%m_%d_%H:%M")
|
||||
|
||||
def run(self) -> None:
|
||||
logger.debug(
|
||||
|
Loading…
Reference in New Issue
Block a user