Skip to content

Instantly share code, notes, and snippets.

@Kungi
Created March 17, 2016 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kungi/606959e6fd2d00ada1cd to your computer and use it in GitHub Desktop.
Save Kungi/606959e6fd2d00ada1cd to your computer and use it in GitHub Desktop.
cljs-time null error?
clj-demgen.main> (cemerick.piggieback/cljs-repl (cljs.repl.rhino/repl-env))
To quit, type: :cljs/quit
nil
cljs.user> (require '[cljs-time.core :as date])
nil
cljs.user> (require '[cljs-time.format :as date-format])j
nil
cljs.user> (date-format/unparse (date-format/formatters :basic-date-time)
(date/today-at 12 00))
org.mozilla.javascript.EcmaError: TypeError: Cannot call method "call" of null (rhino.clj#41)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment