Skip to content

Restore support for years > 3000 in wxDateTime with MSVC CRT#9

Open
lanurmi wants to merge 1 commit intoWX_3_0_BRANCHfrom
y3k_3_0
Open

Restore support for years > 3000 in wxDateTime with MSVC CRT#9
lanurmi wants to merge 1 commit intoWX_3_0_BRANCHfrom
y3k_3_0

Conversation

@lanurmi
Copy link
Owner

@lanurmi lanurmi commented Mar 17, 2025

Changes of a08c710 (Merge branch 'y2k38-fixes', 2024-04-14) broke support for dates with year > 3000 when using MSVC CRT with 64-bit time_t as it still doesn't support such dates even if they fit into the type range.

Fix this by restoring the use of our own code instead of using CRT in this case.

See wxWidgets#24464.

Closes wxWidgets#25228.

(cherry picked from commit 181b20b)

Changes of a08c710 (Merge branch 'y2k38-fixes', 2024-04-14) broke
support for dates with year > 3000 when using MSVC CRT with 64-bit
time_t as it still doesn't support such dates even if they fit into the
type range.

Fix this by restoring the use of our own code instead of using CRT in
this case.

See wxWidgets#24464.

Closes wxWidgets#25228.

(cherry picked from commit 181b20b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants