Skip to content

Commit

Permalink
fix: add timezone info to report timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterSchafer committed May 12, 2023
1 parent 973e642 commit 61760e1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion template/code/test-report.header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</svg>
</a>
<div class="test-meta">
<p class="timestamp">{{moment d "MMMM Do YYYY, h:mm:ss a"}}</p>
<p class="timestamp">{{moment d "MMMM Do YYYY, h:mm:ss a (zZ)"}}</p>
<div class="filepath" title="{{projects.[0].sourceFilePath}}">Source: {{projects.[0].sourceFilePath}}</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion template/iac/test-report.header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<h1 class="project__header__title">Snyk test summary</h1>
{{/unless}}

<p class="timestamp">{{moment d "MMMM Do YYYY, h:mm:ss a"}}</p>
<p class="timestamp">{{moment d "MMMM Do YYYY, h:mm:ss a (zZ)"}}</p>
</div>
{{#if projects}}
<div class="source-panel">
Expand Down
2 changes: 1 addition & 1 deletion template/test-cve-report.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@
</a>
<div class="header-wrap">
<h1 class="project__header__title">Snyk test report</h1>
<p class="timestamp">{{moment d "MMMM Do YYYY, h:mm:ss a"}}</p>
<p class="timestamp">{{moment d "MMMM Do YYYY, h:mm:ss a (zZ)"}}</p>
</div>
{{#if paths}}
<div class="source-panel">
Expand Down
2 changes: 1 addition & 1 deletion template/test-report.header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<h1 class="project__header__title">Snyk test summary</h1>
{{/unless}}

<p class="timestamp">{{moment d "MMMM Do YYYY, h:mm:ss a"}}</p>
<p class="timestamp">{{moment d "MMMM Do YYYY, h:mm:ss a (zZ)"}}</p>
</div>
{{#if paths}}
<div class="source-panel">
Expand Down

0 comments on commit 61760e1

Please sign in to comment.