Liking cljdoc? Tell your friends :D

district.format


*default-date-formatter*cljs

source

*default-datetime-formatter*cljs

source

*default-local-date-formatter*cljs

source

*default-local-datetime-formatter*cljs

source

*default-locale*cljs

source

*default-max-currency-fraction-digits*cljs

source

*default-max-number-fraction-digits*cljs

source

*default-max-token-fraction-digits*cljs

source

*default-min-currency-fraction-digits*cljs

source

*default-min-token-fraction-digits*cljs

source

clj->jsoncljs

(clj->json coll)
source

ensure-trailing-slashcljs

(ensure-trailing-slash s)
source

etherscan-addr-urlcljs

(etherscan-addr-url address)
source

etherscan-tx-urlcljs

(etherscan-tx-url tx-hash)
source

format-boolcljs

(format-bool x)
source

format-currencycljs

(format-currency
  x
  &
  [{:keys [:currency :locale :max-fraction-digits :min-fraction-digits]
    :or {locale *default-locale*
         max-fraction-digits *default-max-currency-fraction-digits*
         min-fraction-digits *default-min-currency-fraction-digits*}}])
source

format-datecljs

(format-date date)
(format-date date formatter)
source

format-datetimecljs

(format-datetime date)
(format-datetime date formatter)
source

format-dntcljs

(format-dnt x & [opts])
source

format-ethcljs

(format-eth x & [opts])
source

format-local-datecljs

(format-local-date date)
(format-local-date date formatter)
source

format-local-datetimecljs

(format-local-datetime date)
(format-local-datetime date formatter)
source

format-namespaced-kwcljs

(format-namespaced-kw kw)
source

format-numbercljs

(format-number x
               &
               [{:keys [:locale :max-fraction-digits :min-fraction-digits]
                 :or {locale *default-locale*
                      max-fraction-digits
                        *default-max-number-fraction-digits*}}])
source

format-number-metriccljs

(format-number-metric x & [opts])
source

format-percentagecljs

(format-percentage t p)
source

format-time-unitcljs

(format-time-unit unit amount & [{:keys [:short?]}])
source

format-time-unitscljs

(format-time-units {:keys [:seconds :minutes :hours :days]} & [opts])
source

format-tokencljs

(format-token x
              &
              [{:keys [:token :locale :max-fraction-digits :min-fraction-digits]
                :or {locale *default-locale*
                     max-fraction-digits *default-max-token-fraction-digits*
                     min-fraction-digits *default-min-token-fraction-digits*}}])
source

format-urlcljs

(format-url path query-map)
source

pluralizecljs

(pluralize n & [word ending1 ending2 :as opts])

Taken from reagent-utils pluralizes the word based on the number of items (util/pluralize ["John"] "lad") (util/pluralize ["John" "James"] "lad") (util/pluralize ["Alice"] "lad" "y" "ies")

Taken from reagent-utils
pluralizes the word based on the number of items
(util/pluralize ["John"] "lad")
(util/pluralize ["John" "James"] "lad")
(util/pluralize ["Alice"] "lad" "y" "ies")
sourceraw docstring

time-agocljs

(time-ago from-time)
(time-ago from-time to-time)
source

time-unit->textcljs

source

time-unit->text-shortcljs

source

truncatecljs

(truncate string length)
(truncate string length suffix)

Truncate a string with suffix (ellipsis by default) if it is longer than specified length.

Truncate a string with suffix (ellipsis by default) if it is
longer than specified length.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close