diff --git a/crypto/openssh-certs.c b/crypto/openssh-certs.c index 07f412b9..979b5488 100644 --- a/crypto/openssh-certs.c +++ b/crypto/openssh-certs.c @@ -581,7 +581,7 @@ static void opensshcert_time_to_iso8601(BinarySink *bs, uint64_t time) time_t t = time; char buf[256]; put_data(bs, buf, strftime(buf, sizeof(buf), - "%a %F %T %Z", localtime(&t))); + "%a %Y-%m-%d %H:%M:%S %Z", localtime(&t))); } static void opensshcert_string_list_key_components(