Function: erc-stamp--format-date-stamp
erc-stamp--format-date-stamp is a byte-compiled function defined in
erc-stamp.el.gz.
Signature
(erc-stamp--format-date-stamp CT)
Documentation
Format left date stamp with erc-timestamp-format-left.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-stamp.el.gz
(defun erc-stamp--format-date-stamp (ct)
"Format left date stamp with `erc-timestamp-format-left'."
(unless erc-stamp--date-format-end
;; Don't add text properties to the trailing newline.
(setq erc-stamp--date-format-end
(if (string-suffix-p "\n" erc-timestamp-format-left) -1 t)))
;; Ignore existing `invisible' prop value because date stamps should
;; never be hideable except via `timestamp'.
(let (erc-stamp--invisible-property)
(erc-format-timestamp ct (if (numberp erc-stamp--date-format-end)
(substring erc-timestamp-format-left
0 erc-stamp--date-format-end)
erc-timestamp-format-left))))