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 committed by Jasmine Schladen
parent 37f05a89f2
commit fa62023b2d
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"],