diff --git a/BMA.EHR.Leave.Service/Controllers/LeaveReportController.cs b/BMA.EHR.Leave.Service/Controllers/LeaveReportController.cs index a31f134b..61b615db 100644 --- a/BMA.EHR.Leave.Service/Controllers/LeaveReportController.cs +++ b/BMA.EHR.Leave.Service/Controllers/LeaveReportController.cs @@ -1117,12 +1117,12 @@ namespace BMA.EHR.Leave.Service.Controllers fullName = fullName, dutyTimeName = $"{duty.StartTimeMorning} น.", checkInLocation = timeStamps == null ? "" : timeStamps.CheckInLocationName, - checkInTime = timeStamps == null ? "" : $"{timeStamps.CheckIn.Date.ToString("HH:mm")} น.", + checkInTime = timeStamps == null ? "" : $"{timeStamps.CheckIn.ToString("HH:mm")} น.", checkOutLocation = timeStamps == null ? "" : timeStamps.CheckOutLocationName ?? "", checkOutTime = timeStamps == null ? "" : timeStamps.CheckOut != null ? - $"{timeStamps.CheckOut.Value.Date.ToString("HH:mm")} น." : + $"{timeStamps.CheckOut.Value.ToString("HH:mm")} น." : "", remark = ""