cljs-pikaday icon indicating copy to clipboard operation
cljs-pikaday copied to clipboard

Formatting doesn't seem to matter

Open feakuru opened this issue 8 years ago • 1 comments

Passing :format, :toString and :parse in :pikaday-attrs seems to have no effect. Am I doing it wrong?

feakuru avatar Apr 06 '18 20:04 feakuru

@feakuru I was able to get {:pkaday-attrs {:format "moment-js-format-string-here"}} working by adding https://clojars.org/cljsjs/moment to my project.clj/deps.edn and requiring [cljsjs.moment] in the ns form the component is defined in.

halcyon avatar Oct 29 '18 00:10 halcyon