{"action":"created","issue":{"url":"https://api.github.com/repos/intellifactory/websharper/issues/386","labels_url":"https://api.github.com/repos/intellifactory/websharper/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/intellifactory/websharper/issues/386/comments","events_url":"https://api.github.com/repos/intellifactory/websharper/issues/386/events","html_url":"https://github.com/intellifactory/websharper/issues/386","id":71163245,"number":386,"title":" JavaScript dates aren't comparible","user":{"login":"spiffytech","id":77867,"avatar_url":"https://avatars.githubusercontent.com/u/77867?v=3","gravatar_id":"","url":"https://api.github.com/users/spiffytech","html_url":"https://github.com/spiffytech","followers_url":"https://api.github.com/users/spiffytech/followers","following_url":"https://api.github.com/users/spiffytech/following{/other_user}","gists_url":"https://api.github.com/users/spiffytech/gists{/gist_id}","starred_url":"https://api.github.com/users/spiffytech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spiffytech/subscriptions","organizations_url":"https://api.github.com/users/spiffytech/orgs","repos_url":"https://api.github.com/users/spiffytech/repos","events_url":"https://api.github.com/users/spiffytech/events{/privacy}","received_events_url":"https://api.github.com/users/spiffytech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-27T03:14:14Z","updated_at":"2015-04-27T10:42:33Z","closed_at":null,"body":"JavaScript Date objects don't implement the IComparable interface, so I have to convert them to Unix timestamps to compare them. It would be nice if they could be compared directly."},"comment":{"url":"https://api.github.com/repos/intellifactory/websharper/issues/comments/96604967","html_url":"https://github.com/intellifactory/websharper/issues/386#issuecomment-96604967","issue_url":"https://api.github.com/repos/intellifactory/websharper/issues/386","id":96604967,"user":{"login":"qwe2","id":1850930,"avatar_url":"https://avatars.githubusercontent.com/u/1850930?v=3","gravatar_id":"","url":"https://api.github.com/users/qwe2","html_url":"https://github.com/qwe2","followers_url":"https://api.github.com/users/qwe2/followers","following_url":"https://api.github.com/users/qwe2/following{/other_user}","gists_url":"https://api.github.com/users/qwe2/gists{/gist_id}","starred_url":"https://api.github.com/users/qwe2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qwe2/subscriptions","organizations_url":"https://api.github.com/users/qwe2/orgs","repos_url":"https://api.github.com/users/qwe2/repos","events_url":"https://api.github.com/users/qwe2/events{/privacy}","received_events_url":"https://api.github.com/users/qwe2/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T10:42:33Z","updated_at":"2015-04-27T10:42:33Z","body":"I don't think it's currently possible to make JavaScript types defined by [WIG](http://www.websharper.com/docs/wig) implement .NET interfaces. You can, however, use `System.DateTime` (for which a proxy is defined) for a richer interface over Date objects if it's plausible in your case."}}