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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |