中通 jQuery Date Range Picker 始终显示双月面板。月初时(如8月1日), 当天日期同时出现在 month1(隐藏 ghost cell)和 month2(可见 cell), 两者的 CSS class 都含 real-today,.first 取到隐藏元素导致超时。 改为直接从 Python datetime 计算目标时间戳,新增 _zto_find_visible_day 查找可见日期格(跳过 display:none 的 ghost cell),同步修复 _zto_flip_to_target_month 的可见性判断。 Co-Authored-By: Claude <noreply@anthropic.com>
32 KiB
32 KiB