diff --git a/care/facility/models/facility.py b/care/facility/models/facility.py index 16f4f0f39f..a0e8222e4a 100644 --- a/care/facility/models/facility.py +++ b/care/facility/models/facility.py @@ -318,7 +318,10 @@ class Meta: "facilitycapacity__modified_date": "Updated Date", } - CSV_MAKE_PRETTY = {"facilitycapacity__room_type": (lambda x: REVERSE_ROOM_TYPES[x])} + CSV_MAKE_PRETTY = { + "facilitycapacity__room_type": (lambda x: REVERSE_ROOM_TYPES[x]), + "facilitycapacity__modified_date": (lambda x: x.strftime("%d-%m-%Y")), + } def __str__(self): return (