Skip to content

Commit

Permalink
converting ISO date time to UTC string
Browse files Browse the repository at this point in the history
  • Loading branch information
assuntad23 committed Sep 28, 2023
1 parent d37f14e commit 55bdf14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/components/Markdown/Elements/InvocationTime.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export default {
computed: {
content() {
const invocation = this.invocations[this.args.invocation_id];
return invocation && invocation["create_time"];
const iso = new Date(invocation && invocation["create_time"]);
return iso.toUTCString();
},
},
};
Expand Down

0 comments on commit 55bdf14

Please sign in to comment.