Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert ISO to UTC for Date/Time in workflow reports #16758

Merged
merged 9 commits into from
Oct 20, 2023
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();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, but does that need to be fixed in the PDF as well ?

assuntad23 marked this conversation as resolved.
Show resolved Hide resolved
},
},
};
Expand Down