37 references to Rfc3339
Microsoft.AspNetCore.Mvc.TagHelpers (1)
InputTagHelper.cs (1)
488else if (ViewContext.Html5DateRenderingMode == Html5DateRenderingMode.Rfc3339 &&
Microsoft.AspNetCore.Mvc.TagHelpers.Test (18)
InputTagHelperTest.cs (18)
1857tagHelper.ViewContext.Html5DateRenderingMode = Html5DateRenderingMode.Rfc3339; 1926tagHelper.ViewContext.Html5DateRenderingMode = Html5DateRenderingMode.Rfc3339; 1956[InlineData("Date", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-dd}", "date")] 1958[InlineData("DateTime", Html5DateRenderingMode.Rfc3339, @"{0:yyyy-MM-ddTHH\:mm\:ss.fff}", "datetime-local")] 1960[InlineData("DateOnlyDate", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-dd}", "date")] 1962[InlineData("DateOnly", Html5DateRenderingMode.Rfc3339, null, "text")] 1964[InlineData("DateTimeOffset", Html5DateRenderingMode.Rfc3339, @"{0:yyyy-MM-ddTHH\:mm\:ss.fffK}", "text")] 1966[InlineData("DateTimeLocal", Html5DateRenderingMode.Rfc3339, @"{0:yyyy-MM-ddTHH\:mm\:ss.fff}", "datetime-local")] 1968[InlineData("Time", Html5DateRenderingMode.Rfc3339, @"{0:HH\:mm\:ss.fff}", "time")] 1970[InlineData("Month", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM}", "month")] 1972[InlineData("Week", Html5DateRenderingMode.Rfc3339, null, "week")] 1973[InlineData("NullableDate", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-dd}", "date")] 1974[InlineData("NullableDateTime", Html5DateRenderingMode.Rfc3339, @"{0:yyyy-MM-ddTHH\:mm\:ss.fff}", "datetime-local")] 1975[InlineData("NullableDateOnlyDate", Html5DateRenderingMode.Rfc3339, "{0:yyyy-MM-dd}", "date")] 1976[InlineData("NullableDateOnly", Html5DateRenderingMode.Rfc3339, null, "text")] 1977[InlineData("NullableDateTimeOffset", Html5DateRenderingMode.Rfc3339, @"{0:yyyy-MM-ddTHH\:mm\:ss.fffK}", "text")] 2104tagHelper.ViewContext.Html5DateRenderingMode = Html5DateRenderingMode.Rfc3339; 2161tagHelper.ViewContext.Html5DateRenderingMode = Html5DateRenderingMode.Rfc3339;
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
DefaultEditorTemplates.cs (2)
381htmlHelper.Html5DateRenderingMode = Html5DateRenderingMode.Rfc3339; 416if (htmlHelper.Html5DateRenderingMode != Html5DateRenderingMode.Rfc3339)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (15)
DefaultEditorTemplatesTest.cs (7)
1153[InlineData(null, Html5DateRenderingMode.Rfc3339, "text")] 1155[InlineData("date", Html5DateRenderingMode.Rfc3339, "date")] 1157[InlineData("datetime", Html5DateRenderingMode.Rfc3339, "datetime-local")] 1159[InlineData("datetime-local", Html5DateRenderingMode.Rfc3339, "datetime-local")] 1161[InlineData("time", Html5DateRenderingMode.Rfc3339, "time")] 1163[InlineData("month", Html5DateRenderingMode.Rfc3339, "month")] 1165[InlineData("week", Html5DateRenderingMode.Rfc3339, "week")]
DefaultHtmlGeneratorTest.cs (8)
337{"text", Html5DateRenderingMode.Rfc3339, false }, 338{"number", Html5DateRenderingMode.Rfc3339, true }, 339{"range", Html5DateRenderingMode.Rfc3339, true }, 340{"date", Html5DateRenderingMode.Rfc3339, true }, 341{"datetime-local", Html5DateRenderingMode.Rfc3339, true }, 342{"month", Html5DateRenderingMode.Rfc3339, true }, 343{"time", Html5DateRenderingMode.Rfc3339, true }, 344{"week", Html5DateRenderingMode.Rfc3339 , true },
RazorWebSite (1)
Startup.cs (1)
28options.HtmlHelperOptions.Html5DateRenderingMode = Microsoft.AspNetCore.Mvc.Rendering.Html5DateRenderingMode.Rfc3339;