Skip to content

Commit

Permalink
chore: add link to time.rs documentation to time format line
Browse files Browse the repository at this point in the history
  • Loading branch information
luizfonseca committed Oct 19, 2024
1 parent bfcf0b8 commit 7c9eef8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 7c9eef8

Please sign in to comment.