diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/Html5DateRenderingMode.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/Html5DateRenderingMode.cs
index 677550ccc9..60eac82a91 100644
--- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/Html5DateRenderingMode.cs
+++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/Rendering/Html5DateRenderingMode.cs
@@ -9,15 +9,15 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
///
public enum Html5DateRenderingMode
{
- ///
- /// Render date and time values according to the current culture's ToString behavior.
- ///
- CurrentCulture = 0,
-
///
/// Render date and time values as Rfc3339 compliant strings to support HTML5 date and time types of input
/// elements.
///
- Rfc3339,
+ Rfc3339 = 0,
+
+ ///
+ /// Render date and time values according to the current culture's ToString behavior.
+ ///
+ CurrentCulture,
}
}
\ No newline at end of file
diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.Order.Encoded.html b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.Order.Encoded.html
index cef19f6c7f..722650400f 100644
--- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.Order.Encoded.html
+++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.Order.Encoded.html
@@ -11,7 +11,7 @@