You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2022/12/05 20:55:04 UTC

[airavata-django-portal-sdk] branch master updated: AIRAVATA-3677 Convert creation time with microseconds

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal-sdk.git


The following commit(s) were added to refs/heads/master by this push:
     new ded9924  AIRAVATA-3677 Convert creation time with microseconds
ded9924 is described below

commit ded99240c452c8d668304e7b7af309b93427c2fb
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Mon Dec 5 15:54:44 2022 -0500

    AIRAVATA-3677 Convert creation time with microseconds
---
 airavata_django_portal_sdk/user_storage/api.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/airavata_django_portal_sdk/user_storage/api.py b/airavata_django_portal_sdk/user_storage/api.py
index abf99e3..32e162b 100644
--- a/airavata_django_portal_sdk/user_storage/api.py
+++ b/airavata_django_portal_sdk/user_storage/api.py
@@ -455,8 +455,7 @@ def get_data_product_metadata(request, data_product=None, data_product_uri=None)
             # FIXME: since this isn't the true relative path, going to leave out for now
             # "path": path,
             "resource_path": path,
-            # TODO: won't be microseconds any longer?
-            # "created_time": convert_iso8601_to_datetime(data['creationTime'], microseconds=False),
+            "created_time": convert_iso8601_to_datetime(data['creationTime']),
             "size": data['filesize']
         }
         mime_type = None