* Added swipeL + swipeR + arrowL + arrowR events to DailyCharts form
* Added swipeL + swipeR + arrowL + arrowR events to DailyCharts form
* changed indicator from div to img, using spinner.gif
* changed indicator from div to img, using spinner.gif
* invert swipe directions
---------
Co-authored-by: Louis Croisez <louis.croisez@gmail.com>
* Fix sunrise/sunset scatters
Sunrise/sunset scatter plots are misplaced for
* Date ranges that are a subset of the entire DB date range
* Species whose first/last detections are inside the bounds of the current date range.
This fixes those problems.
* Clean up lint errors
* Fix the lint errors created by fixing lint errors
* Restore old lat/lon determination
We'll enhance this separately
Introduction of yesterday/today handling added a bug that expresses itself on systems whose timezones are behind UTC. Specifically, the 'localtime' modifier to DATE() attempts to interpret the date to the left as UTC, and convert to localtime. The result is that in timezones behind UTC, the date selected is always 1 earlier than intended.
No timezone conversion should be done. The db data is in local time already.
Here's a demonstration of calling DATE() in various ways in North America EST:
sqlite> select DATE('now');
2024-02-26
sqlite> select DATETIME('now');
2024-02-26 17:20:46
sqlite> select DATE('2024-02-26');
2024-02-26
sqlite> select DATETIME('2024-02-26');
2024-02-26 00:00:00
sqlite> select DATE('now', 'localtime');
2024-02-26
sqlite> select DATE('2024-02-26', 'localtime');
2024-02-25 <--- this is the bug