How to show smaller than milliseconds for TimeSpan?
lloydjatkinson opened this issue · comments
Lloyd Atkinson commented
I need to display microseconds from a TimeSpan, however right now all I'm able to get is "0 milliseconds".
timeSpan.Humanize(culture: culture);
Does Humanizer support displaying them?
Simon Cropp commented
try using the precision override
public static string Humanize(this TimeSpan timeSpan, int precision, bool countEmptyUnits, CultureInfo? culture = null, TimeUnit maxUnit = TimeUnit.Week, TimeUnit minUnit = TimeUnit.Millisecond, string? collectionSeparator = ", ", bool toWords = false)
{