Update comments to reflect the correct default values for HtmlDateRenderingMode (#4997)
This commit is contained in:
parent
cad72e769f
commit
f3f2bcdbb5
|
|
@ -17,9 +17,9 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
||||||
public interface IHtmlHelper
|
public interface IHtmlHelper
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set this property to <see cref="Html5DateRenderingMode.Rfc3339"/> to have templated helpers such as
|
/// Set this property to <see cref="Html5DateRenderingMode.CurrentCulture" /> to have templated helpers such as
|
||||||
/// <see cref="Editor"/> and <see cref="IHtmlHelper{TModel}.EditorFor"/> render date and time values as RFC
|
/// <see cref="Editor" /> and <see cref="IHtmlHelper{TModel}.EditorFor" /> render date and time
|
||||||
/// 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.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Html5DateRenderingMode Html5DateRenderingMode { get; set; }
|
Html5DateRenderingMode Html5DateRenderingMode { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -163,10 +163,9 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
|
||||||
public bool ClientValidationEnabled { get; set; }
|
public bool ClientValidationEnabled { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Set this property to <see cref="Html5DateRenderingMode.Rfc3339" /> to have templated helpers such as
|
/// Set this property to <see cref="Html5DateRenderingMode.CurrentCulture" /> to have templated helpers such as
|
||||||
/// <see cref="IHtmlHelper.Editor" /> and <see cref="IHtmlHelper{TModel}.EditorFor" /> render date and time
|
/// <see cref="IHtmlHelper.Editor" /> and <see cref="IHtmlHelper{TModel}.EditorFor" /> render date and time
|
||||||
/// values as RFC 3339 compliant strings. By default these helpers render dates and times using the current
|
/// values using the current culture. By default, these helpers render dates and times as RFC 3339 compliant strings.
|
||||||
/// culture.
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Html5DateRenderingMode Html5DateRenderingMode { get; set; }
|
public Html5DateRenderingMode Html5DateRenderingMode { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,9 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
|
||||||
/// Gets or sets the <see cref="Html5DateRenderingMode.Html5DateRenderingMode"/> value.
|
/// Gets or sets the <see cref="Html5DateRenderingMode.Html5DateRenderingMode"/> value.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Set this property to <see cref="Html5DateRenderingMode.Rfc3339"/> to have templated helpers such as
|
/// Set this property to <see cref="Html5DateRenderingMode.CurrentCulture" /> to have templated helpers such as
|
||||||
/// <see cref="IHtmlHelper.Editor"/> and <see cref="IHtmlHelper{TModel}.EditorFor"/> render date and time
|
/// <see cref="IHtmlHelper.Editor" /> and <see cref="IHtmlHelper{TModel}.EditorFor" /> render date and time
|
||||||
/// values as RFC 3339 compliant strings. By default these helpers render dates and times using the current
|
/// values using the current culture. By default, these helpers render dates and times as RFC 3339 compliant strings.
|
||||||
/// culture.
|
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public Html5DateRenderingMode Html5DateRenderingMode { get; set; }
|
public Html5DateRenderingMode Html5DateRenderingMode { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue