Function: org-format-seconds
org-format-seconds is a function alias for format-seconds, defined in
time-date.el.gz.
This function is obsolete since 9.0; use format-seconds instead.
Signature
(org-format-seconds STRING SECONDS)
Documentation
Use format control STRING to format the number SECONDS.
The valid format specifiers are:
%y is the number of (365-day) years.
%d is the number of days.
%h is the number of hours.
%m is the number of minutes.
%s is the number of seconds.
%z is a non-printing control flag (see below).
%% is a literal "%".
Upper-case specifiers are followed by the unit-name (e.g. "years"). Lower-case specifiers return only the unit.
"%" may be followed by a number specifying a width, with an
optional leading "." for zero-padding. For example, "%.3Y" will
return something of the form "001 year".
The "%s" spec takes an additional optional parameter, introduced by the "," character, to say how many decimals to use. "%,1s" means "use one decimal".
The "%z" specifier does not print anything. When it is used, specifiers must be given in order of decreasing size. To the left of "%z", nothing is output until the first non-zero unit is encountered.
The "%x" specifier does not print anything. When it is used, specifiers must be given in order of decreasing size. To the right of "%x", trailing zero units are not output.
Aliases
org-format-seconds (obsolete since 9.0)