Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80072 --- shadow/80072 2006-11-28 00:02:28.000000000 -0500 +++ shadow/80072.tmp.5280 2006-11-28 00:02:28.000000000 -0500 @@ -0,0 +1,59 @@ +Bug#: 80072 +Product: Mono: Tools +Version: 1.0 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: tools +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: JScript.NET Runtime Differences for Dates + +Description of Problem: + +JScript code produces different results on Microsoft.NET vs Mono. + +hello.js +---- +print("Hello") +print("Hello on " + new Date()) +print("Hello on " + new Date().toString()) +---- + + +Steps to reproduce the problem: +1. Compile the hello.js to hello.exe using mjs hello.js +2. Run hello.exe in both Mono and MS.NET. + + +Actual Results: + +Mono produces... + +Hello +Hello on [object Date] +Hello on Mon Nov 27 22:42:30 UTC-5 2006 + + +Expected Results: + +MS.NET produces... + +Hello +Hello on Mon Nov 27 22:42:24 EST 2006 +Hello on Mon Nov 27 22:42:25 EST 2006 + + +How often does this happen? + +Always + + +Additional Information: _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
