Spaces:
Sleeping
Sleeping
Commit History
-
Mirror canonical: replace rolling RSS windows with exact ET calendar windows
georgejiehUnverified signatureSync from canonical 83cc488. The HF Space deployment runs off this graph, so the demo backend stayed on rolling-duration windows while the canonical repo moved to exact America/New_York calendar windows. This commit brings the mirror to canonical. - pre_market: previous local day 17:00 through anchor day 08:00 - early_market: 08:00 through 09:45 - midday: 09:45 through 12:30 - close: 12:30 through 16:15 - weekend_recap: Monday anchor only; previous Friday 17:00 through Saturday 23:55 Implementation: - compute_session_bounds builds aware UTC bounds from the anchor's America/New_York calendar date - filter_by_session uses inclusive start_utc <= published_at <= end_utc - weekend_recap bounds constructed from prior Friday and Saturday wall-clock dates so they inherit each target date's natural offset; result is independent of anchor minute and stays correct across both DST transitions (verified at Monday 00:00 and 07:00 anchors across spring and fall) - generate_digest normal…8182828