GetDate/TimeFormat() patch

Chris Morgan cmorgan at alum.wpi.edu
Wed Dec 18 00:02:32 CST 2002


* ole/ole2nls.c, include/winnls.h:
Chris Morgan <cmorgan at alum.wpi.edu>
GetDateFormat() and GetTimeFormat() should check the validity of the time/date 
structure it is processing.  Add comments to describe flags behavior.  Add 
support for TIME_FORCE24HOURFORMAT, TIME_NOMINUTESORSECONDS, TIME_NOSECONDS 
and TIME_NOTIMEMARKER.  Add check in GetDateFormatW() for invalid flag
combinations.  Added some missing DATE_* defines to winnls.h. Behavior
verified against NT4.0.

* dlls/kernel/tests/locale.c:
Chris Morgan <cmorgan at alum.wpi.edu>
Add additional tests for GetTimeFormat() and GetDateFormat().  Uncomment
wine_todo tests that now succeed with fixes to GetTime/DateFormat().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getformat.diff
Type: text/x-diff
Size: 14373 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20021218/8f5e2031/getformat.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: locale_test.diff
Type: text/x-diff
Size: 27481 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20021218/8f5e2031/locale_test.bin


More information about the wine-patches mailing list