Re: ClojureScript: comparing dates

2012-08-16 Thread David Nolen
On Thu, Aug 16, 2012 at 3:06 PM, D.Bushenko wrote: > Hi, > > I'm trying to compare dates with ClojureScript like this: > > (ns common > (:require [goog.date.Date])) > . . . > (goog.date.Date/compare (js/Date.) (js/Date.)) Is your Google Closure up to date? You should confirm that goog.date.Date

ClojureScript: comparing dates

2012-08-16 Thread D.Bushenko
Hi, I'm trying to compare dates with ClojureScript like this: (ns common (:require [goog.date.Date])) . . . (goog.date.Date/compare (js/Date.) (js/Date.)) But it fails with the following error: "Error evaluating:" (goog.date.Date/compare (js/Date.) (js/Date.)) :as "goog.date.Date.compare((ne