DateTime comparison bug?

12 views
Skip to first unread message

zdenek hostinsky

unread,
Jun 8, 2015, 5:22:33 AM6/8/15
to shar...@googlegroups.com
Hello

DateTime d1 = DateTime.Now;
DateTime d2 = DateTime.Now;
var b = d1 > d2;


produces

  var d1 = System.DateTime.get_Now();
        var d2 = System.DateTime.get_Now();
var b = System.DateTime.op_GreaterThan(d1, d2);

and the "System.DateTime.op_GreaterThan" is not defined

I added it manually to jsclr




 

Dan-el Khen

unread,
Jun 12, 2015, 5:17:14 AM6/12/15
to shar...@googlegroups.com
Hi,

I've created an issue for this, and we'll add the missing operator overloads into the sdk.

Thanks!
Dan-el
SharpKit

--
You received this message because you are subscribed to the Google Groups "SharpKit Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sharpkit+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages