switched to time.RFC3339Nano for timeformat, does something weird on disk, but works otherwise and better accuracy for sub second motionIntervals

This commit is contained in:
BroodjeAap 2020-08-13 18:00:58 +00:00
parent 054ec0e56b
commit 1e29266836

View file

@ -10,7 +10,7 @@ import (
"time"
)
const timeLayout = "2006-01-02_15-4-5.jpg"
const timeLayout = time.RFC3339Nano
// WatchArea defines one or more areas that should be monitored for motion
type WatchArea struct {