Add event handler for midnight shot detection.

This event handler checks if there is an UTC date jump between
consecutive shots. If a jump is detected, it sends to new entries
to the event log, for the last shot and first shot of the previous
and current dates, respectively.

Fixes #223.
This commit is contained in:
D. Berge
2022-05-15 13:39:45 +02:00
parent f5e08c68af
commit 992205da4a
2 changed files with 145 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
const Handlers = [
require('./detect-soleol')
require('./detect-soleol'),
require('./detect-fdsp')
];
function init () {