summaryrefslogtreecommitdiff
path: root/crtsh-pem2html.go
diff options
context:
space:
mode:
Diffstat (limited to 'crtsh-pem2html.go')
-rw-r--r--crtsh-pem2html.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/crtsh-pem2html.go b/crtsh-pem2html.go
index ea54ae9..20953be 100644
--- a/crtsh-pem2html.go
+++ b/crtsh-pem2html.go
@@ -75,6 +75,7 @@ var tmpl = template.Must(template.New("pem2html").
}
</style>
<script src="sorttable.js"></script>
+ <base target="_parent" />
</head>
<body>
<table class=sortable>
@@ -166,7 +167,7 @@ func (l Certs) Len() int {
// Less reports whether the element with
// index i should sort before the element with index j.
func (l Certs) Less(i, j int) bool {
- return l[i].Updated.UTC().After(l[j].Updated.UTC())
+ return l[i].Updated.After(l[j].Updated)
}
// Swap swaps the elements with indexes i and j.