mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
Improve checker's html datetime output
* Change the displayed string in the HTML output for the date and time of the run to be human readable and in the local timezone. The `datetime` attribute of the `time` tag still has the RFC 3339 UTC version for machine processing.
This commit is contained in:
parent
8f396bbe31
commit
5ca768b5e2
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
Date of run: <time datetime="{{.Date.Format "2006-01-02T15:04:05Z"}}">{{ .Date.Format "2006-01-02T15:04:05Z" }}</time>
|
Date of run: <time datetime="{{.Date.Format "2006-01-02T15:04:05Z"}}">{{ .Date.Local.Format "Monday, 02 Jan 2006 15:04:05 MST" }}</time>
|
||||||
csaf_checker v<span class="version">{{ .Version }}</span>
|
csaf_checker v<span class="version">{{ .Version }}</span>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue