Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix warnings #1176

Merged
merged 1 commit into from Feb 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/Humanizer/ClockNotationRounding.cs
@@ -1,8 +1,18 @@
namespace Humanizer
{
/// <summary>
/// Options for specifying readable clock notation
/// </summary>
public enum ClockNotationRounding
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was introduced in #1134

{
/// <summary>
/// Do not round minutes
/// </summary>
None,

/// <summary>
/// Round time to nearest five minutes
/// </summary>
NearestFiveMinutes
}
}
2 changes: 0 additions & 2 deletions src/Humanizer/Localisation/ResourceKeys.TimeUnitSymbol.cs
Expand Up @@ -16,8 +16,6 @@ public static class TimeUnitSymbol
/// Generates Resource Keys according to convention.
/// </summary>
/// <param name="unit">Time unit, <see cref="TimeUnit"/>.</param>
/// <param name="count">Number of units, default is One.</param>
/// <param name="toWords">Result to words, default is false.</param>
Comment on lines -19 to -20
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was introduced in #1106

/// <returns>Resource key, like TimeSpanHumanize_SingleMinute</returns>
public static string GetResourceKey(TimeUnit unit)
{
Expand Down