oleaut32: Update the VarDateFromStr() Y2K cutoff.
commitc83b7a0f39161aec4165d3d616c08afd18a62998
authorFrancois Gouget <fgouget@codeweavers.com>
Fri, 16 Jul 2021 14:07:08 +0000 (16 16:07 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 20 Jul 2021 11:19:47 +0000 (20 13:19 +0200)
treec71b6aa249914572ee7d2042eab5e38585350031
parent5931cf0a302415374c640e0fdcf4dc814331c905
oleaut32: Update the VarDateFromStr() Y2K cutoff.

Old Windows versions used 29 as the Y2K cutoff, that is they mapped
two digit years 00-29 to 2000-2029 and years 30-99 to 1930-1999.
But starting with Windows 10 1903 the cutoff is now 49 by default.
So update Wine to match the current Windows versions and adjust the
tests to work for both.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51453
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/oleaut32/tests/vartype.c
dlls/oleaut32/vartype.c