From f08ba8b6ab847a70a9d1ac26f9ccd7567810959d Mon Sep 17 00:00:00 2001 From: Romin <15949-romin.benfer@users.noreply.git.rwth-aachen.de> Date: Tue, 8 Oct 2024 10:27:51 +0200 Subject: [PATCH] Another deprecated call updated and bumped package version --- src/coscine/__about__.py | 2 +- src/coscine/metadata.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coscine/__about__.py b/src/coscine/__about__.py index 0a20385..147a2d8 100644 --- a/src/coscine/__about__.py +++ b/src/coscine/__about__.py @@ -12,4 +12,4 @@ Coscine Python SDK package metadata __author__ = "RWTH Aachen University" __copyright__ = "RWTH Aachen University" __license__ = "MIT License" -__version__ = "0.11.3" +__version__ = "0.11.4" diff --git a/src/coscine/metadata.py b/src/coscine/metadata.py index dcbd874..0163cf4 100644 --- a/src/coscine/metadata.py +++ b/src/coscine/metadata.py @@ -894,7 +894,7 @@ class FileMetadata: """ The timestamp when the metadata was assigned. """ - return datetime.utcfromtimestamp(float(self.version)) + return datetime.fromtimestamp(float(self.version)) @property def definition(self) -> str: -- GitLab