blob: ce811c017b1fe624b7a114361a4fdbe9353c513e [file] [log] [blame]
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/logging.R
\name{format_duration}
\alias{format_duration}
\title{Format duration in seconds to human-readable format}
\usage{
format_duration(seconds)
}
\arguments{
\item{seconds}{numeric duration in seconds}
}
\value{
character string with formatted duration
}
\description{
Converts a duration in seconds to a formatted string with days, hours, minutes, and seconds.
Used for ETA calculations and progress reporting.
}
\examples{
\dontrun{
format_duration(3661) # "01h 01m 01s"
format_duration(86461) # "1d 00h 01m 01s"
}
}
\keyword{internal}