jscript: Date.parse: long date with '/' or '-' (try2)

Thomas Faller tfaller.dev at gmail.com
Sun May 3 14:46:31 CDT 2015


This (resubmitted) patch refers to the bug:

https://bugs.winehq.org/show_bug.cgi?id=31726
(JScript Date.parse doesn't work)

I've implemented that dates like 1970/01/01 can be parsed.
And the patch contains now 2 parsing tests.
This format is not documented under

https://msdn.microsoft.com/en-us/library/k4w173wk%28v=vs.84%29.aspx

but its implemented in the internet explorer and in the windows script host.

---
   dlls/jscript/date.c       | 9 ++++++++-
   dlls/jscript/tests/api.js | 2 ++
   2 files changed, 10 insertions(+), 1 deletion(-)









-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-jscript-Date.parse-long-date-with-or-try2.txt
Type: text/x-patch
Size: 2119 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150503/42c566ed/attachment.bin>


More information about the wine-patches mailing list