Variable: ls-lisp-format-time-list

ls-lisp-format-time-list is a customizable variable defined in ls-lisp.el.gz.

Value

("%b %e %H:%M" "%b %e  %Y")

Documentation

List of format-time-string specs to display file time stamps.

These specs are used ONLY if a valid locale can not be determined.

If ls-lisp-use-localized-time-format is non-nil, these specs are used regardless of whether the locale can be determined.

Syntax: (EARLY-TIME-FORMAT OLD-TIME-FORMAT)

The EARLY-TIME-FORMAT is used if file has been modified within the current year. The OLD-TIME-FORMAT is used for older files. To use ISO
8601 dates, you could set:

(setq ls-lisp-format-time-list
       '("%Y-%m-%d %H:%M"
         "%Y-%m-%d "))

Source Code

;; Defined in /usr/src/emacs/lisp/ls-lisp.el.gz
(defcustom ls-lisp-format-time-list
  '("%b %e %H:%M"
    "%b %e  %Y")
  "List of `format-time-string' specs to display file time stamps.
These specs are used ONLY if a valid locale can not be determined.

If `ls-lisp-use-localized-time-format' is non-nil, these specs are used
regardless of whether the locale can be determined.

Syntax:  (EARLY-TIME-FORMAT OLD-TIME-FORMAT)

The EARLY-TIME-FORMAT is used if file has been modified within the
current year.  The OLD-TIME-FORMAT is used for older files.  To use ISO
8601 dates, you could set:

\(setq ls-lisp-format-time-list
       \\='(\"%Y-%m-%d %H:%M\"
         \"%Y-%m-%d      \"))"
  :type '(list (string :tag "Early time format")
	       (string :tag "Old time format"))
  :group 'ls-lisp)