Scott Lamb 292bcbaad5 Add helper for adjusting date-to-duration map.
The helper isn't used yet. The goal is to export this on /camera/<uuid>/ as
described in a TODO in design/api.md.

The next step is to keep MoonfireDatabase::CameraData::days up-to-date:

* Init: call on every recording (replacing the current aggregated query with
  a recording-by-recording query)
* InsertRecording, DeleteRecordings: call for added/removed recordings

then return it from GetCamera and pass it along to the client in
WebInterface::HandleJsonCameraDetail.
2016-05-01 21:26:17 -07:00
..
2016-04-23 13:55:36 -07:00
2016-01-06 23:27:44 -08:00
2016-01-06 23:27:44 -08:00
2016-02-03 23:22:37 -08:00
2016-02-03 23:22:37 -08:00
2016-02-02 20:18:41 -08:00
2016-02-02 20:18:41 -08:00
2016-02-02 20:18:41 -08:00
2016-04-25 04:17:43 -07:00
2016-05-01 10:06:31 -07:00
2016-05-01 09:16:14 -07:00
2016-05-01 10:06:31 -07:00
2016-05-01 09:16:14 -07:00
2016-01-16 18:00:58 -08:00
2016-02-03 23:22:37 -08:00
2016-02-03 23:22:37 -08:00
2016-02-03 23:22:37 -08:00
2016-02-03 23:22:37 -08:00
2016-01-12 09:46:21 -08:00
2016-02-03 23:22:37 -08:00
2016-05-01 09:16:14 -07:00
2016-04-25 04:17:43 -07:00