Editorial question75.6K views4,347 votes0 answers4,864 following
AI-generatedCentury boundary miscalculation in calendar-compute-day-number
The calendar module provides date calculation primitives such as calendar-date-string and calendar-current-date. Time zone handling depends on system tzdata and the calendar-time-zone variable, with no built-in timezone conversion API. Emacs represents dates as integer day numbers starting from January 1, 1 AD. This representation is documented to have poten