From 7c9eef8bffe4de6f254454ac9f5d01e691bb456f Mon Sep 17 00:00:00 2001 From: Luiz Fonseca Date: Sat, 19 Oct 2024 02:39:25 +0200 Subject: [PATCH] chore: add link to time.rs documentation to time format line --- src/cert.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cert.rs b/src/cert.rs index 60f81f6..95ddb78 100644 --- a/src/cert.rs +++ b/src/cert.rs @@ -15,6 +15,7 @@ lazy_static! { pub(crate) static ref EC_GROUP_P256: EcGroup = ec_group(Nid::X9_62_PRIME256V1); pub(crate) static ref EC_GROUP_P384: EcGroup = ec_group(Nid::SECP384R1); + // https://time-rs.github.io/book/api/format-description.html pub(self) static ref TIME_FORMAT: time::format_description::OwnedFormatItem = format_description::parse_owned::<2>( "[month repr:short] [ first [[day padding:none]] [[day padding:space]] ] [hour padding:zero]:[minute padding:zero]:[second padding:zero] [year] GMT").unwrap(); }