Skip to content

Commit 62e93c2

Browse files
committed
minor fix
1 parent 1b17dbf commit 62e93c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/handlers/projects/jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ class Testruns(Resource):
419419
@auth_required(['user'], allow_if_public=True)
420420
def get(self, project_id, job_id):
421421
result = g.db.execute_many_dict('''
422-
SELECT tr.state, t.name, t.suite, tr.duration, t.build_number, tr.message, tr.stack, tr.timestamp
422+
SELECT tr.state, t.name, t.suite, tr.duration, t.build_number, tr.message, tr.stack, to_char(tr.timestamp, 'YYYY-MM-DD HH24:MI:SS') as timestamp
423423
FROM test t
424424
INNER JOIN test_run tr
425425
ON t.id = tr.test_id

0 commit comments

Comments
 (0)