From a816af5c7e5ba9cc553bcf7f241d365d0b3c0122 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 26 Feb 2024 13:31:23 +0000 Subject: [PATCH] . --- atlas/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlas/models.py b/atlas/models.py index 4cc064a0..968f1fbb 100644 --- a/atlas/models.py +++ b/atlas/models.py @@ -655,7 +655,7 @@ class Series(SeriesBase): with pydicom.dcmread(image.image) as ds: date = ds.get("StudyDate", "No date") - self.description = date + self.description = f"{date[:4]}-{date[4:6]}-{date[6:]}" self.save()