[Mono-bugs] [Bug 80072][Wis] New - JScript.NET Runtime Differences for Dates
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Nov 28 00:02:28 EST 2006
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 jd at justdoro.com.
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: mono-bugs at ximian.com
+ReportedBy: jd at justdoro.com
+QAContact: mono-bugs at ximian.com
+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:
More information about the mono-bugs
mailing list