Skip to content

Commit

Permalink
Simplify the time.Format transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
mtardy committed Dec 20, 2022
1 parent 009a327 commit aa9a822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/cve-feed.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<table class="security-cves">
{{ $feed := getJSON .Site.Params.cveFeedBucket }}
<caption>{{ T "cve_table" }} (updated on {{ $feed._kubernetes_io.updated_at | time.Format "02 Jan 2006" }} at {{ $feed._kubernetes_io.updated_at | time.Format "15:04:05 MST" }})</caption>
<caption>{{ T "cve_table" }} (updated on {{ $feed._kubernetes_io.updated_at | time.Format "02 Jan 2006 at 15:04:05 MST" }})</caption>
<thead>
<tr>
<th>{{ T "cve_id" }}</th>
Expand Down

0 comments on commit aa9a822

Please sign in to comment.