diff --git a/packages/openchs-android/src/views/filter/AppliedFiltersV2.js b/packages/openchs-android/src/views/filter/AppliedFiltersV2.js index 2319b5692..2673e6d43 100644 --- a/packages/openchs-android/src/views/filter/AppliedFiltersV2.js +++ b/packages/openchs-android/src/views/filter/AppliedFiltersV2.js @@ -64,17 +64,17 @@ function getFiltersToDisplay(selectedFilterValues, filterUUIDsToIgnore, dashboar content={selectedFilterValue.map((x) => x.name).join(", ")}/>; case Concept.dataType.Date: return !_.isNil(selectedFilterValue) && + content={General.toNumericDateFormat(selectedFilterValue)}/> case Concept.dataType.DateTime: return !_.isNil(selectedFilterValue) && + content={General.toNumericDateTimeFormat(selectedFilterValue)}/> case Concept.dataType.Time: return !_.isNil(selectedFilterValue) && case Range.DateRange: return !_.isNil(selectedFilterValue) && !selectedFilterValue.isEmpty() && + content={`${General.toNumericDateFormat(selectedFilterValue.minValue)} - ${General.toNumericDateTimeFormat(selectedFilterValue.maxValue)}`}/> case DashboardFilterConfig.dataTypes.formMetaData: let labelTexts = []; if (selectedFilterValue.subjectTypes.length > 0) {