oleaut32 variant dates
Jon Griffiths
jon_p_griffiths at yahoo.com
Mon Dec 1 11:50:13 CST 2003
Hi,
This patch implements the date<->string conversions accounting for
different
locales and date formats. It finally gets rid of the struct tm
intermediate
translations and the nasty cruft associated with them.
After applying, you can delete parsedt.c and parsedt.h, and remove
parsedt.c
from Makefile.in.
This causes all the date<->string tests that used to fail to succeed
now,
except for one which is testing a bug in native ( a valid date format
is not
allowed). If any tests fail for you apart from that one, you have
locale
overrides set in your registry that are different from english/US and
the
existing tests do not pass LOCALE_NOUSEROVERRIDE as they should,
causing
either the date/month order to be different or the date fields to be
parsed
in a different order. Fixes to the tests are coming.
Cheers,
Jon
License: X11
ChangeLog:
Jon Griffiths <jon_p_griffiths at yahoo.com>
+dlls/oleaut32/variant.c
Implement conversions between dates and strings
Remove the final cruft associated with the old date code
BPB;s: Roll milliseconds correctly; LOCALE_NOUSEROVERRIDE for num
parsing
Implement VarAbs and VarNot.
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: variant_date.diff
Type: text/x-diff
Size: 46380 bytes
Desc: variant_date.diff
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20031201/dc8d397f/variant_date.bin
More information about the wine-patches
mailing list