fixing the time bug, sub-second to second, and month to minute!

This commit is contained in:
Hossein Shafagh 2020-10-23 10:16:23 -07:00
parent 2ea39a51e3
commit e01863097b
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ def map_cis_fields(options, csr):
"csr": csr,
"signature_hash": signature_hash(options.get("signing_algorithm")),
"validity": {
"valid_to": validity_end.format("YYYY-MM-DDTHH:MM:SS") + "Z"
"valid_to": validity_end.format("YYYY-MM-DDTHH:MM:ss") + "Z"
},
"organization": {
"name": options["organization"],