How Integer Overflow Breaks Unix Timestamps in Production
Summary During a data migration involving legacy archival records, we observed a critical discrepancy between our Ruby application’s time calculations and the client-side rendering in Discord. While Ruby’s Time class successfully parsed massive negative integers representing dates in the deep past (e.g., year -271821), the Discord timestamp formatting (Unix epoch based) produced a date in … Read more