aspnetcore/src/Microsoft.AspNetCore.Mvc.Vi.../Rendering/Html5DateRenderingMode.cs

23 lines
806 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Mvc.Rendering
{
/// <summary>
/// Controls the value-rendering method For HTML5 input elements of types such as date, time, datetime and
/// datetime-local.
/// </summary>
public enum Html5DateRenderingMode
{
/// <summary>
/// Render date and time values as Rfc3339 compliant strings to support HTML5 date and time types of input
/// elements.
/// </summary>
Rfc3339 = 0,
/// <summary>
/// Render date and time values according to the current culture's ToString behavior.
/// </summary>
CurrentCulture,
}
}