Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Update comments to reflect the correct default values for HtmlDateRenderingMode #4997

Merged
merged 1 commit into from
Jul 27, 2016
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
public interface IHtmlHelper
{
/// <summary>
/// Set this property to <see cref="Html5DateRenderingMode.Rfc3339"/> to have templated helpers such as
/// <see cref="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 culture.
/// 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 using the current culture. By default, these helpers render dates and times as RFC 3339 compliant strings.
/// </summary>
Html5DateRenderingMode Html5DateRenderingMode { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,9 @@ public virtual FormContext FormContext
public bool ClientValidationEnabled { get; set; }

/// <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
/// 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.
/// </summary>
public Html5DateRenderingMode Html5DateRenderingMode { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ public class HtmlHelperOptions
/// Gets or sets the <see cref="Html5DateRenderingMode.Html5DateRenderingMode"/> value.
/// </summary>
/// <remarks>
/// Set this property to <see cref="Html5DateRenderingMode.Rfc3339"/> to have templated helpers such as
/// <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
/// culture.
/// 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
/// values using the current culture. By default, these helpers render dates and times as RFC 3339 compliant strings.
/// </remarks>
public Html5DateRenderingMode Html5DateRenderingMode { get; set; }

Expand Down