Merge branch 'master' into 'master'

Fix date range shown in reverse in MDM Reports

See merge request entgra/carbon-device-mgt!788
kernel-4.4.x
Pahansith Gunathilake 3 years ago
commit 4cfd56efa0

@ -315,7 +315,7 @@ public class ReportManagementServiceImpl implements ReportManagementService {
} }
//Map date blocks and counts //Map date blocks and counts
resultObject.addProperty( resultObject.addProperty(
dateFormat.format(endDate) + " - " + dateFormat.format(previousDate), sum); dateFormat.format(previousDate) + " - " + dateFormat.format(endDate), sum);
endDate = previousDate; endDate = previousDate;
} }

Loading…
Cancel
Save