mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 09:47:08 +00:00
This defines a midnight_shots view and a log_midnight_shots() procedure (with some overloads). The view returns all points straddling midnight UTC and belonging to the same sequence (so last shot of the day and first shot of the next day). The procedure inserts the corresponding events (optionally constrained by an earliest and a latest date) in the event log, unless the events already exist. Related to #223.