diff --git a/qiita_pet/handlers/artifact_handlers/base_handlers.py b/qiita_pet/handlers/artifact_handlers/base_handlers.py index d56c62c6a..c87cdbb48 100644 --- a/qiita_pet/handlers/artifact_handlers/base_handlers.py +++ b/qiita_pet/handlers/artifact_handlers/base_handlers.py @@ -216,6 +216,8 @@ def artifact_summary_get_request(user, artifact_id): 'processing_jobs': processing_jobs, 'summary': summary, 'job': job_info, + 'artifact_timestamp': artifact.timestamp.strftime( + "%Y-%m-%d %H:%m"), 'errored_jobs': errored_jobs} diff --git a/qiita_pet/handlers/artifact_handlers/tests/test_base_handlers.py b/qiita_pet/handlers/artifact_handlers/tests/test_base_handlers.py index 5b34f639e..6136276db 100644 --- a/qiita_pet/handlers/artifact_handlers/tests/test_base_handlers.py +++ b/qiita_pet/handlers/artifact_handlers/tests/test_base_handlers.py @@ -92,6 +92,7 @@ def test_artifact_summary_get_request(self): (2L, '1_s_G1_L001_sequences_barcodes.fastq.gz (raw barcodes)')] exp = {'name': 'Raw data 1', 'artifact_id': 1, + 'artifact_timestamp': '2012-10-01 09:10', 'visibility': 'private', 'editable': True, 'buttons': ('