dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
denisj 2016-09-30T02:52:32.001123Z

@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 ?

2016-09-30T11:46:26.001137Z

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

denisj 2016-09-30T11:56:46.001138Z

Thanks will take a look

2016-09-30T11:57:17.001139Z

here is another example, how I implemented the “envelope” helper: https://github.com/binaryage/cljs-devtools/blob/master/src/lib/devtools/toolbox.cljs