Variable: erc-timestamp-format-left

erc-timestamp-format-left is a customizable variable defined in erc-stamp.el.gz.

Value

"\n[%a %b %e %Y]\n"

Documentation

Format recognized by format-time-string for date stamps.

Only considered when erc-insert-timestamp-function is set to erc-insert-timestamp-left-and-right. Used for displaying date stamps on their own line, between messages. ERC inserts this flavor of stamp as a separate "pseudo message", so a final newline isn't necessary. For compatibility, only additional trailing newlines beyond the first become empty lines. For example, the default value results in an empty line after the previous message, followed by the timestamp on its own line, followed immediately by the next message on the next line. ERC expects to display these stamps less frequently, so the formatting specifiers should reflect that. To omit these stamps entirely, use a different erc-insert-timestamp-function, such as erc-timestamp-format-right. Note that changing this value during an ERC session requires cycling erc-stamp-mode(var)/erc-stamp-mode(fun).

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-stamp.el.gz
(defcustom erc-timestamp-format-left "\n[%a %b %e %Y]\n"
  "Format recognized by `format-time-string' for date stamps.
Only considered when `erc-insert-timestamp-function' is set to
`erc-insert-timestamp-left-and-right'.  Used for displaying date
stamps on their own line, between messages.  ERC inserts this
flavor of stamp as a separate \"pseudo message\", so a final
newline isn't necessary.  For compatibility, only additional
trailing newlines beyond the first become empty lines.  For
example, the default value results in an empty line after the
previous message, followed by the timestamp on its own line,
followed immediately by the next message on the next line.  ERC
expects to display these stamps less frequently, so the
formatting specifiers should reflect that.  To omit these stamps
entirely, use a different `erc-insert-timestamp-function', such
as `erc-timestamp-format-right'.  Note that changing this value
during an ERC session requires cycling `erc-stamp-mode'."
  :type 'string)