Skip to content

Commit 3c9614a

Browse files
committed
fix date format
1 parent fb7ee17 commit 3c9614a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/dashboard/format_results.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ write_result() {
7373
duration_seconds=$(( $(date -d "$end_at" +%s) - $(date -d "$start_at" +%s) ))
7474
start_iso=""
7575
end_iso=""
76-
start_iso=$(date -j -f "%Y/%m/%d %H:%M:%S" "$start_at" +"%Y-%m-%dT%H:%M:%S.%NZ")
77-
end_iso=$(date -j -f "%Y/%m/%d %H:%M:%S" "$end_at" +"%Y-%m-%dT%H:%M:%S.%NZ")
76+
start_iso=$(date -d "$start_at" +"%Y-%m-%dT%H:%M:%S.%NZ")
77+
end_iso=$(date -d "$end_at" +"%Y-%m-%dT%H:%M:%S.%NZ")
7878
else
7979
duration_seconds=0
8080
fi

0 commit comments

Comments
 (0)