An implementation of date formatting that uses ISO format specifiers, but uses browser built-in Intl support to get the locale-dependent values
An implementation of date formatting that uses ISO format specifiers, but uses browser built-in Intl support to get the locale-dependent values
(new-formatter format-str locale-name zone-name)
Build a formatter. Returns a (fn [inst] string?)
.
Build a formatter. Returns a `(fn [inst] string?)`.
[format-str]
Turns a string that has repeating characters into groups of those repeating letters. This function is memoized, so it is best to ONLY use it on date/time format patterns, of which there will likely be few.
[format-str] Turns a string that has repeating characters into groups of those repeating letters. This function is memoized, so it is best to ONLY use it on date/time format patterns, of which there will likely be few.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close