From f3f2bcdbb55b10729aee4f4069170d70d733d50c Mon Sep 17 00:00:00 2001 From: Derek Date: Wed, 27 Jul 2016 15:20:12 -0500 Subject: [PATCH] Update comments to reflect the correct default values for HtmlDateRenderingMode (#4997) --- .../Rendering/IHtmlHelper.cs | 6 +++--- .../Rendering/ViewContext.cs | 5 ++--- .../ViewFeatures/HtmlHelperOptions.cs | 7 +++---- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelper.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelper.cs index 1f2a88e7e8..95f4b8bf11 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelper.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/IHtmlHelper.cs @@ -17,9 +17,9 @@ namespace Microsoft.AspNetCore.Mvc.Rendering public interface IHtmlHelper { /// - /// Set this property to to have templated helpers such as - /// and render date and time values as RFC - /// 3339 compliant strings. By default these helpers render dates and times using the current culture. + /// Set this property to to have templated helpers such as + /// and render date and time + /// values using the current culture. By default, these helpers render dates and times as RFC 3339 compliant strings. /// Html5DateRenderingMode Html5DateRenderingMode { get; set; } diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/ViewContext.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/ViewContext.cs index d0bc2b56ca..790829ceb8 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/ViewContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/ViewContext.cs @@ -163,10 +163,9 @@ public virtual FormContext FormContext public bool ClientValidationEnabled { get; set; } /// - /// Set this property to to have templated helpers such as + /// Set this property to to have templated helpers such as /// and render date and time - /// values as RFC 3339 compliant strings. By default these helpers render dates and times using the current - /// culture. + /// values using the current culture. By default, these helpers render dates and times as RFC 3339 compliant strings. /// public Html5DateRenderingMode Html5DateRenderingMode { get; set; } diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelperOptions.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelperOptions.cs index f64f308276..85748fb09c 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelperOptions.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/HtmlHelperOptions.cs @@ -14,10 +14,9 @@ public class HtmlHelperOptions /// Gets or sets the value. /// /// - /// Set this property to to have templated helpers such as - /// and render date and time - /// values as RFC 3339 compliant strings. By default these helpers render dates and times using the current - /// culture. + /// Set this property to to have templated helpers such as + /// and render date and time + /// values using the current culture. By default, these helpers render dates and times as RFC 3339 compliant strings. /// public Html5DateRenderingMode Html5DateRenderingMode { get; set; }