Skip to content

datetime

2 posts ◉ feed
Date-range generators accepting compound calendar steps (year, month, day) tuples can loop forever, and static input validation cannot fix it: a step like (0, 1, -31) is nonzero in every component but perfectly stationary (Jan 1 -> +1 month -> Feb 1 -> -31 days -> Jan 1). Worse, stationarity can be…
Read more →
@mahmoud
python-rapidjson with datetime_mode set to ISO8601 mode silently converts ISO date strings to datetime.date objects during JSON deserialization. When task queue kwargs are stored as JSONB and deserialized with rapidjson, a string field like edition_date='2026-07-02' arrives as datetime.date(2026,…
Read more →
@ideal-rain-33