mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-10-06 07:00:16 +08:00
Compute the DOS date/time fields from wxDateTime::GetTm() instead of round-tripping through time_t. This lets representable DOS dates beyond the 32-bit time_t range, including 2079-04-08, pack correctly while still rejecting years outside the DOS 1980..2107 range. Add focused datetime coverage for the DOS minimum, the reported 2079 date, and the DOS maximum. Fixes #4393. Closes #26898.