From 8dbdfa7db108c7c44e54222299d6e67fb1dcf815 Mon Sep 17 00:00:00 2001 From: Neil Boyd Date: Tue, 22 Mar 2022 07:33:38 +0100 Subject: [PATCH] missing comment --- src/Humanizer/Localisation/ResourceKeys.TimeSpanHumanize.cs | 2 +- src/Humanizer/TimeSpanHumanizeExtensions.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Humanizer/Localisation/ResourceKeys.TimeSpanHumanize.cs b/src/Humanizer/Localisation/ResourceKeys.TimeSpanHumanize.cs index 89739afba..f12a17db2 100644 --- a/src/Humanizer/Localisation/ResourceKeys.TimeSpanHumanize.cs +++ b/src/Humanizer/Localisation/ResourceKeys.TimeSpanHumanize.cs @@ -19,7 +19,7 @@ public static class TimeSpanHumanize /// /// Time unit, . /// Number of units, default is One. - /// + /// Time span style, default is . /// Resource key, like TimeSpanHumanize_SingleMinute public static string GetResourceKey(TimeUnit unit, int count = 1, TimeSpanStyle timeSpanStyle = TimeSpanStyle.Full) { diff --git a/src/Humanizer/TimeSpanHumanizeExtensions.cs b/src/Humanizer/TimeSpanHumanizeExtensions.cs index 4dd94ad0c..e0d864843 100644 --- a/src/Humanizer/TimeSpanHumanizeExtensions.cs +++ b/src/Humanizer/TimeSpanHumanizeExtensions.cs @@ -53,7 +53,7 @@ public static class TimeSpanHumanizeExtensions /// The maximum unit of time to output. The default value is . The time units and will give approximations for time spans bigger 30 days by calculating with 365.2425 days a year and 30.4369 days a month. /// The minimum unit of time to output. /// The separator to use when combining humanized time parts. If null, the default collection formatter for the current culture is used. - /// Use full, abbreviated or short time unit style + /// Use full, abbreviated or short time unit style. /// public static string Humanize(this TimeSpan timeSpan, int precision = 1, CultureInfo culture = null, TimeUnit maxUnit = TimeUnit.Week, TimeUnit minUnit = TimeUnit.Millisecond, string collectionSeparator = ", ", TimeSpanStyle timeSpanStyle = TimeSpanStyle.Full) { @@ -70,7 +70,7 @@ public static string Humanize(this TimeSpan timeSpan, int precision = 1, Culture /// The maximum unit of time to output. The default value is . The time units and will give approximations for time spans bigger than 30 days by calculating with 365.2425 days a year and 30.4369 days a month. /// The minimum unit of time to output. /// The separator to use when combining humanized time parts. If null, the default collection formatter for the current culture is used. - /// Use full, abbreviated or short time unit style + /// Use full, abbreviated or short time unit style. /// public static string Humanize(this TimeSpan timeSpan, int precision, bool countEmptyUnits, CultureInfo culture = null, TimeUnit maxUnit = TimeUnit.Week, TimeUnit minUnit = TimeUnit.Millisecond, string collectionSeparator = ", ", TimeSpanStyle timeSpanStyle = TimeSpanStyle.Full) {