summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crtsh-pem2html.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crtsh-pem2html.go b/crtsh-pem2html.go
index 612e421..dcb503a 100644
--- a/crtsh-pem2html.go
+++ b/crtsh-pem2html.go
@@ -97,7 +97,7 @@ var tmpl = template.Must(template.New("pem2html").
</tr>
{{range $cert := .certs}}
<tr>
- <td style="background-color: {{$cert.Updated | green}}"><a target="_blank" href="{{$cert.Url}}">{{$cert.Updated | datetime}}</a></td>
+ <td style="background-color: {{$cert.Updated | green}}"><a target="_blank" href="{{$cert.Url}}">{{$cert.Updated | date}}</a></td>
<td><a target="_blank" href="{{$cert.Url}}">{{$cert.X509.NotBefore | date}}</a></td>
<td style="background-color: {{$cert.X509.NotAfter | red}}"><a target="_blank" href="{{$cert.Url}}">{{$cert.X509.NotAfter | date}}</a></td>
<td><a target="_blank" href="{{$cert.Url}}">{{$cert.X509.Subject.CommonName}}</a></td>