(date-text iso locale)The date iso as locale writes it, as its day in UTC. With no usable locale, iso itself.
The date `iso` as `locale` writes it, as its day in UTC. With no usable locale, `iso` itself.
The attributes that the parent x-comments writes. They are not part of the public API.
The attributes that the parent x-comments writes. They are not part of the public API.
(normalize {:keys [comment-id-raw name-raw datetime-raw locale-raw depth-raw
max-depth-raw reply-to-name-raw author? status-raw closed?
labels-raw]})The view model of a comment from its raw attributes.
The view model of a comment from its raw attributes.
(parse-datetime s)The date text s when a date can be read from it, else nil.
The date text `s` when a date can be read from it, else nil.
(parse-depth s)The depth s states, 0 when it states none.
The depth `s` states, 0 when it states none.
(parse-max-depth s)The deepest indent level s states, or the default.
The deepest indent level `s` states, or the default.
(parse-status s)The status s names, or the default for an unknown one.
The status `s` names, or the default for an unknown one.
(reply-detail {:keys [comment-id]})The detail of x-comment-reply for the comment m.
The detail of `x-comment-reply` for the comment `m`.
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 |