Function time::formatting::format_number_pad_zero

source ·
pub(crate) fn format_number_pad_zero<const WIDTH: u8>(
    output: &mut impl Write,
    value: impl Integer + DigitCount + Copy
) -> Result<usize, Error>
Available on crate feature formatting only.
Expand description

Format a number with the provided width and zeros as padding.

The sign must be written by the caller.