diff --git a/cpdctrl/utility/data.py b/cpdctrl/utility/data.py index 4bc68a6..2815cc2 100644 --- a/cpdctrl/utility/data.py +++ b/cpdctrl/utility/data.py @@ -24,7 +24,7 @@ class DataCollector: self.metadata = metadata self.path = os.path.abspath(os.path.expanduser(data_path)) if dirname is None: - self.dirname = sanitize_filename(datetime.datetime.now(datetime.UTC).strftime("%Y-%m-%d_%H-%M") + "_" + self.name) + self.dirname = sanitize_filename(datetime.datetime.now().strftime("%Y-%m-%d_%H-%M") + "_" + self.name) else: self.dirname = sanitize_filename(dirname) self.dirpath = os.path.join(self.path, self.dirname)