Last Updated: 01 Sep 2020 14:00 by ADMIN
Created by: Roland
Comments: 0
Category: DateInput
Type: Feature Request

See https://docs.telerik.com/blazor-ui/components/dateinput/supported-formats#two-digit-year-formats

I am using a 4-digit format as workaround, but 2-digit formats are quite normal over here. That is why most tools and OS-es have cutoff years. Often a floating cutoff year that is 50 years before the current date. So anything below 70 would be 20xx. Or you can have a cutoff year close to a century ago, because you consider dates past more relevant than future dates. 

.NET has System.Globalization.TwoDigitYearMax.
Last Updated: 19 Jun 2019 10:54 by ADMIN
Release 1.2.0
Created by: Darren
Comments: 0
Category: DateInput
Type: Feature Request

Binding a date input or a date picker to a nullable value causes a build-time error

error CS1503: Argument 1: cannot convert from 'System.DateTime?' to 'System.DateTime'


@using Telerik.Blazor.Components.Button
@using Telerik.Blazor.Components.DateInput

<TelerikDateInput bind-Value="@StartDate" Format="MM/dd/yyyy HH:mm:ss"></TelerikDateInput>

@functions {
    private DateTime? StartDate { get; set; } = new DateTime(2020, 1, 1);