Update README.md
This commit is contained in:
parent
4100cbc415
commit
ecbb91d4e9
@ -75,7 +75,7 @@ func main() {
|
|||||||
// At this point you're logged into Arlo.
|
// At this point you're logged into Arlo.
|
||||||
|
|
||||||
now := time.Now()
|
now := time.Now()
|
||||||
start := now.Add(-7 * oneDay)
|
start := now.Sub(7 * oneDay)
|
||||||
|
|
||||||
// Get all of the recordings for a date range.
|
// Get all of the recordings for a date range.
|
||||||
library, err := arlo.GetLibrary(start, now)
|
library, err := arlo.GetLibrary(start, now)
|
||||||
|
Loading…
Reference in New Issue
Block a user