From 4f72d9703936eb504485b71c362ca25d443f3b25 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 11 Nov 2024 10:37:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Doctor/DTO/EducationModel.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 {