Scott Idem
c64c3bc55a
fix(importing): normalize non-breaking spaces in CSV datetime fields
...
Google Sheets embeds \xa0 (non-breaking space) in 12-hour time values
(e.g. "3:00\xa0PM") and when date/time columns are combined. This caused
MariaDB datetime INSERTs to fail with an OperationalError.
Adds _clean_datetime() which strips \xa0, normalizes whitespace, and
parses common import formats (M/D/YYYY H:MM AM/PM, etc.) into
YYYY-MM-DD HH:MM:SS before the DB write. Applied to all four datetime
fields: session and presentation start/end.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-15 10:15:13 -04:00
..
2026-04-02 17:10:35 -04:00
2020-09-14 12:41:02 -04:00
2026-01-20 19:23:30 -05:00
2026-01-20 19:23:30 -05:00
2026-03-24 19:22:45 -04:00
2026-02-24 11:30:17 -05:00
2026-04-11 20:22:20 -04:00
2026-04-11 19:09:11 -04:00
2025-12-03 20:43:47 -05:00
2026-02-03 17:53:14 -05:00
2026-03-17 16:36:32 -04:00
2026-02-03 18:23:07 -05:00
2026-05-01 14:44:28 -04:00
2026-03-16 16:50:32 -04:00
2026-02-06 16:23:18 -05:00
2026-03-25 13:05:09 -04:00
2026-04-25 12:34:49 -04:00
2026-05-01 14:44:28 -04:00
2024-04-26 14:51:11 -04:00
2026-03-24 19:22:45 -04:00
2026-02-13 18:45:20 -05:00
2024-05-15 10:39:01 -04:00
2024-04-26 15:15:37 -04:00
2024-04-26 15:15:37 -04:00
2026-01-20 19:23:30 -05:00
2026-04-07 19:59:51 -04:00
2024-04-26 14:51:11 -04:00
2026-01-20 19:23:30 -05:00
2026-01-20 19:23:30 -05:00
2026-01-20 19:23:30 -05:00
2024-04-26 14:51:11 -04:00
2026-01-20 19:23:30 -05:00
2026-05-15 10:15:13 -04:00
2024-04-26 15:15:37 -04:00
2026-01-20 19:23:30 -05:00
2024-04-26 15:15:37 -04:00
2026-01-20 19:23:30 -05:00
2024-04-26 15:15:37 -04:00
2024-04-26 14:51:11 -04:00
2024-04-26 15:15:37 -04:00
2026-03-10 18:44:58 -04:00
2026-03-11 14:51:08 -04:00
2024-04-26 14:51:11 -04:00
2026-02-20 17:18:21 -05:00
2024-04-26 15:15:37 -04:00
2024-04-26 15:15:37 -04:00
2024-04-26 15:15:37 -04:00
2024-04-26 14:51:11 -04:00
2024-04-26 15:15:37 -04:00
2024-05-22 15:54:47 -04:00
2026-05-01 14:44:28 -04:00
2026-03-31 14:48:28 -04:00
2024-04-26 15:15:37 -04:00
2024-04-26 14:51:11 -04:00
2026-03-25 19:33:53 -04:00
2026-03-24 19:22:45 -04:00
2024-10-09 10:38:24 -04:00
2026-03-11 15:21:19 -04:00
2023-04-07 17:09:51 -04:00