|
@@ -634,7 +634,7 @@ func convertReportDTO(report reportDao.Report, fullTime bool) (reportDTO ReportD
|
|
|
PublishedTime: report.PublishedTime,
|
|
|
}
|
|
|
publishDate, err := time.Parse(time.DateTime, reportDTO.PublishedTime)
|
|
|
- if err == nil && fullTime {
|
|
|
+ if err == nil && !fullTime {
|
|
|
reportDTO.PublishedTime = publishDate.Format(time.DateOnly)
|
|
|
}
|
|
|
return
|