[Bug 8047] New: BOM: DateSerial (VB function) gives 19xx for 2
digit years, but should provide 20xx for years below 30
Wine Bugs
wine-bugs at winehq.org
Sat Apr 14 10:10:01 CDT 2007
http://bugs.winehq.org/show_bug.cgi?id=8047
Summary: BOM: DateSerial (VB function) gives 19xx for 2 digit
years, but should provide 20xx for years below 30
Product: Wine
Version: 0.9.35.
Platform: PC
URL: http://http://downloads.sourceforge.net/bom/bom230_sourc
es.zip?use_mirror=dfn
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: wine-kernel
AssignedTo: wine-bugs at winehq.org
ReportedBy: hans.huber at gmx.de
Biet-O-Mat is an eBay Snipper tool. It seams to install and run almost fine
except any new article gets an end date of 1907. I checked their source code and
they use 2 digit years (as on the eBay web Page). According to MS
http://msdn2.microsoft.com/en-us/library/bbx05d0c(VS.80).aspx it should return
20xx for years between 00..30 (additionally the OS can check the International
Settings in the registry ([HKEY_CURRENT_USER\Control
Panel\International\Calendars\TwoDigitYearMax] too). I think this is not done
here. I poked around in the Wine SW ./dlls/oleaut32/vartype.c function
VARIANT_MakeDate but I think this is not called from DateSerial(). So it must be
in some other places...
Logs can be provided upon request.
Thanks.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list