@darwin we work with utc based dates a lot (via cljs-time and in turn goog.dateUtcDateTime) for serialisation we have a custom reader/writer so instead of #inst .... we register our own #utc tag-parser ... however devtools also uses this format which makes interpreting the dates difficult. Is there a way we can add our own custom formatter for devtools to use ?
@denisj: have you seen this? https://github.com/binaryage/cljs-devtools-sample/blob/5d785aec05641b0e199fb4a524fad1f81ba0f54b/src/demo/devtools_sample/core.cljs#L37-L42
you can use IFormat to define your own markup for custom formatting, alternatively you can also override IPrintWithFormat, which is used by cljs printing machinery and and cljs-devtools will display it as well
Thanks will take a look
here is another example, how I implemented the “envelope” helper: https://github.com/binaryage/cljs-devtools/blob/master/src/lib/devtools/toolbox.cljs