https://bugs.winehq.org/show_bug.cgi?id=52686
Bug ID: 52686 Summary: DateAdd not implemented Product: Wine Version: 5.0 Hardware: x86-64 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs@winehq.org Reporter: sergey.bychkow@gmail.com
Created attachment 72024 --> https://bugs.winehq.org/attachment.cgi?id=72024 Sample script
A call to DateAdd function breaks VBScript.
Sample (testdateadd.vbs):
1> aDateFrom = Now 2> MsgBox "Now: " & aDateFrom 3> aDateFrom = DateAdd("h", 1, aDateFrom) 4> MsgBox "+1h: " & aDateFrom
$ wine wscript testdateadd.vbs
Line 2 shows MsgBox, but line 4 does not execute.
Errors (error.log):
0009:fixme:variant:get_date_format ignoring flags 10 0009:fixme:vbscript:Global_DateAdd 0009:fixme:wscript:ActiveScriptSite_OnScriptError ()
https://bugs.winehq.org/show_bug.cgi?id=52686
--- Comment #1 from Sergey Bychkow sergey.bychkow@gmail.com --- Created attachment 72025 --> https://bugs.winehq.org/attachment.cgi?id=72025 Error log
https://bugs.winehq.org/show_bug.cgi?id=52686
Robert Wilhelm sloper42@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sloper42@yahoo.com Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #2 from Robert Wilhelm sloper42@yahoo.com --- Confirming, DateAdd is a stub in wine 7.4
dlls/vbscript/global.c:
static HRESULT Global_DateAdd(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) { FIXME("\n"); return E_NOTIMPL; }
https://bugs.winehq.org/show_bug.cgi?id=52686
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |3693394892542be4b685680c200 | |d46a2d6cc4e29 Status|NEW |RESOLVED
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Marking fixed, 3693394892542be4b685680c200d46a2d6cc4e29.
https://bugs.winehq.org/show_bug.cgi?id=52686
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.9.
https://bugs.winehq.org/show_bug.cgi?id=52686
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0.x
https://bugs.winehq.org/show_bug.cgi?id=52686
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|7.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 7.0.x milestone from bug fixes included in 7.0.2.