1
0
Fork 0
mirror of https://github.com/Luzifer/promcertcheck.git synced 2024-11-09 16:30:04 +00:00

Improve date format

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-06-04 13:17:46 +02:00
parent 87ca9d3103
commit 66edec8f5a
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 43 additions and 41 deletions

View file

@ -79,44 +79,46 @@ func (fi bindataFileInfo) Sys() interface{} {
}
var _bindataDisplayhtml = []byte(
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x56\xdd\x6f\xdb\x36\x10\x7f\xef\x5f\x71\x15\x10\xa4\x0d\x22\x71\x49" +
"\x56\xac\xcb\x24\x03\x5d\x1a\xac\xd9\xba\xb4\x6b\xba\x2f\x14\x7d\xa0\xc5\x93\x44\x97\x22\x55\xde\x49\x89\xe7\xe5" +
"\x7f\x1f\x28\xf9\x2b\x8e\x9d\xb5\x2f\xb2\xef\x78\xf7\xbb\x6f\x1e\xd3\xc7\x2f\xdf\x9c\xbd\xff\xfb\xed\x39\x54\x5c" +
"\x9b\xd1\xa3\x34\xfc\x80\x91\xb6\xcc\x22\xb4\xd1\xe8\x11\x40\x5a\xa1\x54\xe1\x0f\x40\x5a\x23\x4b\xc8\x2b\xe9\x09" +
"\x39\x8b\x5a\x2e\xe2\xe7\xd1\xfa\x51\xc5\xdc\xc4\xf8\xb9\xd5\x5d\x16\xfd\x15\xff\xfe\x22\x3e\x73\x75\x23\x59\x8f" +
"\x0d\x46\x90\x3b\xcb\x68\x39\x8b\x2e\xce\x33\x54\x25\xde\xd1\xb4\xb2\xc6\x2c\xea\x34\x5e\x37\xce\xf3\x9a\xf0\xb5" +
"\x56\x5c\x65\x0a\x3b\x9d\x63\xdc\x13\x87\xa0\xad\x66\x2d\x4d\x4c\xb9\x34\x98\x1d\x2d\x80\x1e\xc7\x31\xbc\xaf\x10" +
"\xe4\xd8\x75\x08\x27\xd0\x03\xb3\x2c\x09\x0e\xea\x96\xf8\x00\x72\x57\x23\x14\xda\x13\x83\xb6\xc0\x15\x42\x88\xed" +
"\x07\x90\x76\x0a\x8e\x2b\xf4\x3d\xbd\xb0\x0d\x41\x69\xd0\x39\x90\x05\xa3\x3f\x08\x2a\x84\x03\x64\x1c\xcf\xad\xb2" +
"\x66\x83\xa3\x33\xf4\xac\x0b\x9d\x4b\x46\xe8\xa4\xd1\x4a\xb2\x76\x16\x3c\x52\x6b\x98\x52\x31\x48\x3d\x5a\x39\xfa" +
"\xa3\x73\x4c\xec\x65\xb3\x42\x32\xda\x7e\x02\x8f\x26\x8b\x88\xa7\x06\xa9\x42\xe4\x08\x2a\x8f\x45\x16\x09\x51\xcb" +
"\x9b\x5c\xd9\x64\xbc\xd0\x0b\x44\xee\x6a\xb1\x64\x88\x93\xe4\x24\x79\x26\x72\xa2\x15\x2f\xa9\xb5\x4d\x72\xa2\x68" +
"\xdd\xf4\xab\xf7\xbf\xbe\x7e\x06\x54\xe9\x1a\xa4\x55\xf0\x0e\xa9\x71\x56\x25\x13\x82\xc2\x79\xb8\x38\x7f\x0e\xd4" +
"\x36\xa1\x0c\xe0\x8a\xb9\x30\x1a\xac\xd1\x32\xf5\x0a\x35\x2a\x2d\xe1\x73\x8b\x5e\xe3\x5a\x22\x02\xf4\x9f\x2f\xde" +
"\x5d\x5e\x5c\xfe\x74\xba\x0e\xaa\x1c\x92\xdd\x67\xb8\x76\xfe\x13\xe8\x02\xa6\xae\x85\x50\xe8\xbe\x00\x8d\x2c\x11" +
"\x3a\x2d\xa1\xd0\x06\x4f\x85\xb8\x03\xf7\x41\x17\x60\x18\x2e\xce\xe1\xfb\x8f\x03\x17\x20\xa5\xdc\xeb\x86\x81\x7c" +
"\x9e\x45\xa1\xdf\xe8\x54\x08\x47\x94\xcc\xf3\x13\x52\x12\x9a\xf8\x19\x55\xba\x13\x27\xc9\x77\xc9\xf1\x8a\xee\xd3" +
"\x31\xa1\x68\x94\x8a\x01\xe6\x6b\x50\xfd\x10\x92\x38\x4a\xbe\x4d\x8e\x17\xd4\x0e\xc4\xf4\xf1\x07\xb4\x4a\x17\x1f" +
"\x87\x70\x52\xb1\x18\xa2\x74\xec\xd4\x74\x2e\xa3\x74\x07\xb9\x91\x44\x59\x14\x5a\x4e\x6a\x8b\x3e\x5a\x7a\xb4\x76" +
"\xea\xdd\x75\x04\x7d\x4f\x64\x51\x85\xba\xac\xf8\xf4\xf8\x9b\xe6\x26\x18\x55\xba\x9b\x97\xf6\xbe\xca\xf2\x60\xd3" +
"\x96\x89\x6b\x15\x1f\x1d\x2f\x6d\x6d\x4a\x34\xd2\xa2\x81\xfe\x1b\x2b\x2c\x64\x6b\xf8\x8e\xec\x16\xe9\x38\x04\xa8" +
"\x6d\xb9\x21\x07\xf0\xf0\x60\xdc\x05\x1d\xa2\x79\xd8\x4e\xc8\xdf\x3d\x23\x29\xcb\xb1\xc1\x85\xe0\x40\xf4\xdf\x98" +
"\xd8\xeb\x06\xd5\x3d\x8d\xa0\xe3\xef\x33\x03\xbb\x1a\xbd\x72\xc4\xa9\xe0\x6a\x14\x88\x0b\xa2\x16\xfd\x92\xfc\x23" +
"\xc4\x00\xad\x65\x6d\x96\xbc\x77\x7d\x30\x3d\x79\xdf\x8c\xd8\x66\x67\xb6\xd7\xcf\x5a\xe5\x88\x0f\x43\x2e\xc2\x7d" +
"\x34\x4f\x09\x90\xf3\x8c\x0a\xf6\x6e\xb7\x78\x37\xdb\x0b\x13\xe4\x91\x92\x2b\x96\xdc\x12\x64\x19\xe4\xab\x0c\xbf" +
"\xf9\x65\xbb\xda\xce\x68\x67\x7b\x80\xe6\x21\xc4\xf3\x9b\x46\x7b\xa4\x2b\xe7\xec\x03\xd0\x8b\xcc\x5f\x4b\x6f\xb7" +
"\x35\xc1\xd2\x14\xe1\x17\xa0\x28\x69\xcb\xb5\x49\xd8\x04\x09\x73\xb5\x1b\x45\x8d\x52\x39\x1e\x7b\xe8\x2f\xdc\x2c" +
"\x9a\xcd\xfa\xd8\xd6\xba\x30\x79\x79\x79\x75\x29\x6b\x24\xf8\x17\x26\x4e\xdb\xd3\xfd\x43\xd8\x87\xdb\xdb\x68\x34" +
"\x9b\xf5\x05\x81\xdb\xdb\x54\x04\x8c\x51\x2a\x58\x6d\xf3\x62\xb0\xb3\x05\x7a\xe8\x95\xe4\xcc\xd5\xb5\xb3\xc1\x48" +
"\x8f\xf5\x95\x20\x97\x8e\x5f\x84\x75\xf3\xa5\xba\x43\xdd\x92\x2b\xf6\xda\x96\x4f\x9e\x3e\xa0\xb6\xb3\x17\xd1\xaa" +
"\xd0\x8e\xf7\x92\x9a\x8a\x7e\x8a\x46\x5f\x3f\xa6\x85\x73\xbc\xa5\x86\xa9\x9c\xef\xb3\xc5\x1d\x5b\x6a\xae\xda\x71" +
"\x7f\xbf\xbe\x6e\xff\xd1\x05\x7a\xd1\x78\x57\x87\x0e\xcc\x2b\xcc\x3f\x45\xa3\xb7\xde\xd5\x67\x0b\x12\x66\x33\xe8" +
"\xd0\x53\xb8\x42\xfa\x32\xfd\x8f\x6b\x1b\x8c\x8d\xfb\x72\x75\xb8\x7e\xd0\x2f\xb2\xc9\x6f\x2d\xfa\x29\x3c\xb1\x98" +
"\x23\x91\xf4\xd3\x7e\x5e\x97\x4b\x7b\x9f\xe0\x67\xd9\xc9\xab\x61\x6b\x34\xa6\x2d\xb5\xa5\xa7\xab\xe5\xb5\xbe\x4e" +
"\x84\x90\x13\x79\x93\x94\xce\x95\x06\x65\xa3\xa9\x8f\x36\xf0\x84\xd1\x63\x12\x93\xb0\x49\xa7\xe2\x28\x39\x3a\x4a" +
"\x4e\xe6\xd4\xce\xb5\x12\xc7\x70\x61\x73\xd3\x2a\x04\x69\x4c\x78\x9d\x34\xda\xa0\x5a\xb8\x00\x4f\xc6\x68\xdc\xf5" +
"\xd3\x43\x70\x1e\xf4\x5c\x50\x5b\xa5\x3b\xad\x5a\x69\xfa\x2d\x4b\x20\x09\x2c\xa2\x42\xb5\xcb\xe1\x2f\x7d\x6b\x4c" +
"\x36\x9f\x1a\x9b\x2e\xa7\x62\xd8\x77\xa9\x18\xde\x97\xff\x05\x00\x00\xff\xff\xcf\xcf\x03\x83\x70\x0a\x00\x00")
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x56\xdd\x73\xdb\x38\x0e\x7f\xef\x5f\x81\x6a\x26\x93\x36\x13\x89\x76" +
"\xd2\xdc\xf5\x7c\x92\x67\x7a\x69\xe6\x9a\xdd\x36\xed\x36\xd9\xaf\xe9\xf4\x81\x16\x21\x8b\x2e\x45\xaa\x04\xe4\xc4" +
"\xeb\xe6\x7f\xdf\xa1\xe4\xaf\x38\x4e\xb6\x7d\x91\x0d\x10\xf8\xe1\x9b\x60\xfa\xf4\xf5\xfb\xd3\xab\x3f\x3f\x9c\x41" +
"\xc9\x95\x19\x3e\x49\xc3\x0f\x18\x69\xc7\x59\x84\x36\x1a\x3e\x01\x48\x4b\x94\x2a\xfc\x01\x48\x2b\x64\x09\x79\x29" +
"\x3d\x21\x67\x51\xc3\x45\xfc\x32\xda\x3c\x2a\x99\xeb\x18\xbf\x36\x7a\x9a\x45\x7f\xc4\xbf\xbe\x8a\x4f\x5d\x55\x4b" +
"\xd6\x23\x83\x11\xe4\xce\x32\x5a\xce\xa2\xf3\xb3\x0c\xd5\x18\xef\x68\x5a\x59\x61\x16\x4d\x35\x5e\xd7\xce\xf3\x86" +
"\xf0\xb5\x56\x5c\x66\x0a\xa7\x3a\xc7\xb8\x25\x0e\x41\x5b\xcd\x5a\x9a\x98\x72\x69\x30\xeb\x2f\x81\x9e\xc6\x31\x5c" +
"\x95\x08\x72\xe4\xa6\x08\xc7\xd0\x02\xb3\x1c\x13\x1c\x54\x0d\xf1\x01\xe4\xae\x42\x28\xb4\x27\x06\x6d\x81\x4b\x84" +
"\x10\xdb\x7f\x41\xda\x19\x38\x2e\xd1\xb7\xf4\xd2\x36\x04\xa5\x4e\xe7\x40\x16\x8c\xfe\x20\xa8\x10\x76\x90\x71\xbc" +
"\xb0\xca\x9a\x0d\x0e\x4f\xd1\xb3\x2e\x74\x2e\x19\x61\x2a\x8d\x56\x92\xb5\xb3\xe0\x91\x1a\xc3\x94\x8a\x4e\xea\xc9" +
"\xda\xd1\xff\x39\xc7\xc4\x5e\xd6\x6b\x24\xa3\xed\x17\xf0\x68\xb2\x88\x78\x66\x90\x4a\x44\x8e\xa0\xf4\x58\x64\x91" +
"\x10\x95\xbc\xc9\x95\x4d\x46\x4b\xbd\x40\xe4\xae\x12\x2b\x86\x38\x4e\x8e\x93\x13\x91\x13\xad\x79\x49\xa5\x6d\x92" +
"\x13\x45\x9b\xa6\xdf\x5c\xbd\x7b\x7b\x02\x54\xea\x0a\xa4\x55\xf0\x11\xa9\x76\x56\x25\x13\x82\xc2\x79\x38\x3f\x7b" +
"\x09\xd4\xd4\xa1\x0c\xe0\x8a\x85\x30\x1a\xac\xd0\x32\xb5\x0a\x15\x2a\x2d\xe1\x6b\x83\x5e\xe3\x46\x22\x02\xf4\xef" +
"\xaf\x3e\x5e\x9c\x5f\xfc\x7f\xb0\x09\xaa\x1c\x92\xdd\x67\xb8\x76\xfe\x0b\xe8\x02\x66\xae\x81\x50\xe8\xb6\x00\xb5" +
"\x1c\x23\x4c\xb5\x84\x42\x1b\x1c\x08\x71\x07\xee\x93\x2e\xc0\x30\x9c\x9f\xc1\x7f\x3e\x77\x5c\x80\x94\x72\xaf\x6b" +
"\x06\xf2\x79\x16\x85\x7e\xa3\x81\x10\x8e\x28\x59\xe4\x27\xa4\x24\x34\xf1\x09\x95\x7a\x2a\x8e\x93\x7f\x27\x47\x6b" +
"\xba\x4d\xc7\x84\xa2\x61\x2a\x3a\x98\x1f\x41\xf5\x5d\x48\xa2\x9f\xbc\x48\x8e\x96\xd4\x03\x88\xe9\xd3\x4f\x68\x95" +
"\x2e\x3e\x77\xe1\xa4\x62\x39\x44\xe9\xc8\xa9\xd9\x42\x46\xe9\x29\xe4\x46\x12\x65\x51\x68\x39\xa9\x2d\xfa\x68\xe5" +
"\xd1\xc6\xa9\x77\xd7\x11\xb4\x3d\x91\x45\x25\xea\x71\xc9\x83\xa3\x5e\x7d\x13\x8c\x2a\x3d\x5d\x94\xf6\xbe\xca\xea" +
"\x60\xdb\x96\x89\x2b\x15\xf7\x8f\x56\xb6\xb6\x25\x6a\x69\xd1\x40\xfb\x8d\x15\x16\xb2\x31\x7c\x47\x76\x87\x74\x1c" +
"\x02\xd4\x76\xbc\x25\x07\xf0\xf8\x60\xdc\x05\xed\xa2\x79\xdc\x4e\xc8\xdf\x3d\x23\x29\xcb\x91\xc1\xa5\x60\x47\xb4" +
"\xdf\x98\xd8\xeb\x1a\xd5\x3d\x8d\xa0\xe3\xef\x33\x03\xbb\x1c\xbe\x71\xc4\xa9\xe0\x72\x18\x88\x73\xa2\x06\xfd\x8a" +
"\xfc\x2d\xc4\x00\x8d\x65\x6d\x56\xbc\x8f\x6d\x30\x2d\x79\xdf\x8c\xd8\x65\x67\xbe\xd7\xce\x5a\xe9\x88\x0f\x43\x2e" +
"\xc2\x7d\xb4\x48\x09\x90\xf3\x8c\x0a\xf6\x6e\x77\x78\x37\xdf\x0b\x13\xe4\x91\x92\x4b\x96\xdc\x10\x64\x19\xe4\xeb" +
"\x0c\xbf\xff\x79\xb7\xda\x83\xd1\xce\xf7\x00\xcd\x63\x88\x67\x37\xb5\xf6\x48\x97\xce\xd9\x47\xa0\x97\x99\xbf\x96" +
"\xde\xee\x6a\x82\x95\x29\xc2\xef\x40\x51\xd2\x8e\x37\x26\x61\x1b\x24\xcc\xd5\xc3\x28\x6a\x98\xca\xd1\xc8\x43\x7b" +
"\xe1\x66\xd1\x7c\xde\xc6\xb6\xd1\x85\xc9\xeb\x8b\xcb\x0b\x59\x21\xc1\x37\x98\x38\x6d\x07\xfb\x87\xb0\x0f\xb7\xb7" +
"\xd1\x70\x3e\x6f\x0b\x02\xb7\xb7\xa9\x08\x18\xc3\x54\xb0\xda\xe5\x45\x67\x67\x07\x74\xd7\x2b\xc9\xa9\xab\x2a\x67" +
"\x83\x91\x16\xeb\x07\x41\x2e\x1c\xbf\x0a\xeb\x06\xbe\x01\xeb\x0a\x07\xd1\x51\xaf\xf7\xaf\xb8\xd7\x8f\x7b\x47\xd0" +
"\x3f\x19\xf4\x5e\x0c\x7a\x27\xf0\xee\xf2\x2a\xfa\x5e\xf0\xae\xb0\xc9\x25\x7b\x6d\xc7\xcf\x9e\x3f\xa2\xf6\x60\xb3" +
"\xa2\x55\xa1\x5f\xef\x65\x3d\x15\xed\x98\x0d\x7f\x7c\x8e\x0b\xe7\x78\x47\x91\x53\xb9\x58\x78\xcb\x4b\x78\xac\xb9" +
"\x6c\x46\xed\x05\xfc\xb6\xf9\x4b\x17\xe8\x45\xed\x5d\x15\x5a\x34\x2f\x31\xff\x12\x0d\x3f\x78\x57\x9d\x2e\x49\x98" +
"\xcf\x61\x8a\x9e\xc2\x1d\xd3\xd6\xf1\x1f\x5c\xdb\x62\x6c\x5d\xa8\xeb\xc3\xcd\x83\x76\xd3\x4d\x7e\x69\xd0\xcf\xe0" +
"\x99\xc5\x1c\x89\xa4\x9f\xb5\x03\xbd\xda\xea\xfb\x04\x3f\xc9\xa9\xbc\xec\xd6\x4a\x6d\x9a\xb1\xb6\xf4\x7c\xbd\xdd" +
"\x36\xf7\x8d\x10\x72\x22\x6f\x92\xb1\x73\x63\x83\xb2\xd6\xd4\x46\x1b\x78\xc2\xe8\x11\x89\x49\x58\xb5\x33\xd1\x4f" +
"\xfa\xfd\xe4\x78\x41\x3d\xb8\x77\xe2\x18\xce\x6d\x6e\x1a\x85\x20\x8d\x09\xcf\x97\x5a\x1b\x54\x4b\x17\xe0\xd9\x08" +
"\x8d\xbb\x7e\x7e\x08\xce\x83\x5e\x08\x6a\xab\xf4\x54\xab\x46\x9a\x76\x0d\x13\x48\x02\x8b\xa8\x50\x3d\xe4\xf0\xf7" +
"\x3e\x46\x26\xdb\x6f\x91\x6d\x97\x53\xd1\x2d\xc4\x54\x74\x0f\xd0\xbf\x03\x00\x00\xff\xff\x68\x98\x69\x6f\x91\x0a" +
"\x00\x00")
func bindataDisplayhtmlBytes() ([]byte, error) {
return bindataRead(
@ -135,10 +137,10 @@ func bindataDisplayhtml() (*asset, error) {
info := bindataFileInfo{
name: "display.html",
size: 2672,
size: 2705,
md5checksum: "",
mode: os.FileMode(436),
modTime: time.Unix(1528110133, 0),
modTime: time.Unix(1528111037, 0),
}
a := &asset{bytes: bytes, info: info}

View file

@ -43,7 +43,7 @@
{% endif %}
<td><abbr title="{{ res.Certificate.DNSNames | join:', ' }}">{{ host }}</abbr></td>
<td>{{ res.Certificate.Issuer.CommonName }}</td>
<td>{{ res.Certificate.NotAfter }}</td>
<td>{{ res.Certificate.NotAfter | time:"2006-01-02 15:04:05 MST" }}</td>
<td>{{ res.Status.String() }}</td>
</tr>
{% endfor %}