Variable: seconds-to-string-readable
seconds-to-string-readable is a variable defined in time-date.el.gz.
Value
(("Y" "year" "years" 31556952) ("M" "month" "months" 2629746)
("w" "week" "weeks" 604800) ("d" "day" "days" 86400)
("h" "hour" "hours" 3600) ("m" "minute" "minutes" 60)
("s" "second" "seconds" 1))
Documentation
Formatting used by the function seconds-to-string(var)/seconds-to-string(fun) with READABLE set.
The format is an alist, with string keys ABBREV-UNIT, and elements like:
(ABBREV-UNIT UNIT UNIT-PLURAL SECS)
where UNIT is a unit of time, ABBREV-UNIT is the abbreviated form of UNIT, UNIT-PLURAL is the plural form of UNIT, and SECS is the number of seconds per UNIT.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/time-date.el.gz
(defvar seconds-to-string-readable
`(("Y" "year" "years" ,(round (* 60 60 24 365.2425)))
("M" "month" "months" ,(round (* 60 60 24 30.436875)))
("w" "week" "weeks" ,(* 60 60 24 7))
("d" "day" "days" ,(* 60 60 24))
("h" "hour" "hours" ,(* 60 60))
("m" "minute" "minutes" 60)
("s" "second" "seconds" 1))
"Formatting used by the function `seconds-to-string' with READABLE set.
The format is an alist, with string keys ABBREV-UNIT, and elements like:
(ABBREV-UNIT UNIT UNIT-PLURAL SECS)
where UNIT is a unit of time, ABBREV-UNIT is the abbreviated form of
UNIT, UNIT-PLURAL is the plural form of UNIT, and SECS is the number of
seconds per UNIT.")