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:
parent
054ec0e56b
commit
1e29266836
1 changed files with 1 additions and 1 deletions
2
watch.go
2
watch.go
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue