diff --git a/IRaCIS.Core.Application/Service/Doctor/DTO/EducationModel.cs b/IRaCIS.Core.Application/Service/Doctor/DTO/EducationModel.cs index 30f41bd07..734c4cbb4 100644 --- a/IRaCIS.Core.Application/Service/Doctor/DTO/EducationModel.cs +++ b/IRaCIS.Core.Application/Service/Doctor/DTO/EducationModel.cs @@ -31,8 +31,8 @@ { public DateTime? CreateTime { get; set; } - public string BeginDateStr => BeginDate?.ToString("yyyy-MM"); - public string EndDateStr => EndDate?.ToString("yyyy-MM"); + public string BeginDateStr => BeginDate?.ToString("yyyy/MM"); + public string EndDateStr => EndDate?.ToString("yyyy/MM"); } public class PostgraduateCommand @@ -81,9 +81,9 @@ { public DateTime? CreateTime { get; set; } - public string BeginDateStr => BeginDate?.ToString("yyyy-MM"); + public string BeginDateStr => BeginDate?.ToString("yyyy/MM"); - public string EndDateStr => EndDate?.ToString("yyyy-MM"); + public string EndDateStr => EndDate?.ToString("yyyy/MM"); } public class DoctorEducationExperienceDTO {