default start time to now down to the minute
This commit is contained in:
Родитель
56907ae1aa
Коммит
b71a9e7a27
|
@ -15,7 +15,7 @@ namespace Project.Zap.Models
|
|||
[Required]
|
||||
[Display(Name = "Starting from")]
|
||||
[DisplayFormat(DataFormatString = "{yyyy-MM-ddTHH:mm}")]
|
||||
public DateTime Start { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 0, 0, 0);
|
||||
public DateTime Start { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, 0);
|
||||
|
||||
[BindProperty]
|
||||
[Display(Name = "Location")]
|
||||
|
|
Загрузка…
Ссылка в новой задаче