format date time to cms
This commit is contained in:
parent
4e8520eb01
commit
806fadc24f
1 changed files with 7 additions and 7 deletions
|
|
@ -342,11 +342,11 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
||||||
Id = x.Id.ToString(),
|
Id = x.Id.ToString(),
|
||||||
Category = "doctor",
|
Category = "doctor",
|
||||||
Category_id = "doctor",
|
Category_id = "doctor",
|
||||||
Start = x.ExamDate.ToString("MM-dd-yyyy"),
|
Start = x.ExamDate.ToString("yyyy-MM-dd"),
|
||||||
End = x.ExamDate.ToString("MM-dd-yyyy"),
|
End = x.ExamDate.ToString("yyyy-MM-dd"),
|
||||||
Exam_date = x.ExamDate.ToString("MM-dd-yyyy"),
|
Exam_date = x.ExamDate.ToString("yyyy-MM-dd"),
|
||||||
Announcement_date = x.AnnouncementStartDate.ToString("MM-dd-yyyy"),
|
Announcement_date = x.AnnouncementStartDate.ToString("yyyy-MM-dd"),
|
||||||
Announcement_endDate = x.AnnouncementEndDate.ToString("MM-dd-yyyy"),
|
Announcement_endDate = x.AnnouncementEndDate.ToString("yyyy-MM-dd"),
|
||||||
Title = x.Name,
|
Title = x.Name,
|
||||||
Image = x.PeriodExamImages.OrderBy(o => o.CreatedAt).FirstOrDefault() == null ?
|
Image = x.PeriodExamImages.OrderBy(o => o.CreatedAt).FirstOrDefault() == null ?
|
||||||
"" :
|
"" :
|
||||||
|
|
@ -381,8 +381,8 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
||||||
Id = x.Id.ToString(),
|
Id = x.Id.ToString(),
|
||||||
Category = "doctor",
|
Category = "doctor",
|
||||||
Category_id = "doctor",
|
Category_id = "doctor",
|
||||||
Start = x.AnnouncementStartDate.ToString("MM-dd-yyyy"),
|
Start = x.AnnouncementStartDate.ToString("yyyy-MM-dd"),
|
||||||
End = x.AnnouncementEndDate.ToString("MM-dd-yyyy"),
|
End = x.AnnouncementEndDate.ToString("yyyy-MM-dd"),
|
||||||
Title = x.Name,
|
Title = x.Name,
|
||||||
Detail = x.Detail,
|
Detail = x.Detail,
|
||||||
Images = x.PeriodExamImages.Select(s => new HomePageLinkResponseItem
|
Images = x.PeriodExamImages.Select(s => new HomePageLinkResponseItem
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue